提交 c9682269 编写于 作者: C Christof Marti

Clean up (#13051)

上级 5010ee2d
......@@ -130,8 +130,8 @@ export class ConfigurationResolverService implements IConfigurationResolverServi
}
private resolveConfigVariable(value: string, originalValue: string): string {
let regexp = /\$\{config(\.|(?=\[))(.+?)\}/g;
return value.replace(regexp, (match: string, lead: string, name: string) => {
let regexp = /\$\{config\.(.+?)\}/g;
return value.replace(regexp, (match: string, name: string) => {
let config = this.configurationService.getConfiguration();
let newValue: any;
try {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册