提交 bef85832 编写于 作者: I isidor

configurationResolverService: do not greedly match

fixes #45493
上级 94b502c1
......@@ -282,7 +282,7 @@ export class ConfigurationResolverService implements IConfigurationResolverServi
if (object[key] && typeof object[key] === 'object') {
findInteractiveVariables(object[key]);
} else if (typeof object[key] === 'string') {
const matches = /\${command:(.+)}/.exec(object[key]);
const matches = /\${command:(.*?)}/.exec(object[key]);
if (matches && matches.length === 2) {
const interactiveVariable = matches[1];
if (!interactiveVariablesToSubstitutes[interactiveVariable]) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册