Modified regex expression to pit path variables match cases

This commit is contained in:
Jason Casareno
2022-08-01 11:44:24 -07:00
parent 1e8805ab4f
commit 42144b724b

View File

@@ -16,7 +16,7 @@ export type Variables = {
}[]
const REGEX_ENV_VAR = /<<([^>]*)>>/g // "<<myVariable>>"
const REGEX_PATH_VAR = /{{([^>]*)}}/g // "{{myVariable}}"
const REGEX_PATH_VAR = /{{([^}]*)}}/g // "{{myVariable}}"
/**
* How much times can we expand environment variables