mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Fix recursion exit condition in variable resolver
This commit is contained in:
parent
0fde806bf8
commit
cc8ff11f57
|
@ -152,7 +152,7 @@ export class AbstractVariableResolverService implements IConfigurationResolverSe
|
|||
resolvedVariables.set(variable, resolvedValue);
|
||||
}
|
||||
|
||||
if (resolvedValue.match(AbstractVariableResolverService.VARIABLE_REGEXP)) {
|
||||
if ((resolvedValue !== match) && types.isString(resolvedValue) && resolvedValue.match(AbstractVariableResolverService.VARIABLE_REGEXP)) {
|
||||
resolvedValue = this.resolveString(environment, folderUri, resolvedValue, commandValueMapping, resolvedVariables);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue