Skip to content

Commit c968226

Browse files
committed
Clean up (#13051)
1 parent 5010ee2 commit c968226

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/vs/workbench/services/configurationResolver/node/configurationResolverService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ export class ConfigurationResolverService implements IConfigurationResolverServi
130130
}
131131

132132
private resolveConfigVariable(value: string, originalValue: string): string {
133-
let regexp = /\$\{config(\.|(?=\[))(.+?)\}/g;
134-
return value.replace(regexp, (match: string, lead: string, name: string) => {
133+
let regexp = /\$\{config\.(.+?)\}/g;
134+
return value.replace(regexp, (match: string, name: string) => {
135135
let config = this.configurationService.getConfiguration();
136136
let newValue: any;
137137
try {

0 commit comments

Comments
 (0)