提交 31268f37 编写于 作者: I isidor

fixes #21297

上级 a3d44c1f
......@@ -223,8 +223,7 @@ export class ConfigurationResolverService implements IConfigurationResolverServi
if (object[key] && typeof object[key] === 'object') {
findInteractiveVariables(object[key]);
} else if (typeof object[key] === 'string') {
object[key] = object[key].replace(new RegExp('command\\.', 'g'), 'command:');
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.
先完成此消息的编辑!
想要评论请 注册