Skip to content

Commit 0c61ee9

Browse files
authored
Fix variable resolving not working with ${default}. (#3310)
1 parent e020801 commit 0c61ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Extension/src/LanguageServer/configurations.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -435,9 +435,9 @@ export class CppProperties {
435435
private resolveAndSplit(paths: string[] | undefined, defaultValue: string[], env: Environment): string[] {
436436
let result: string[] = [];
437437
if (paths) {
438+
paths = this.resolveDefaults(paths, defaultValue);
438439
paths.forEach(entry => {
439440
let entries: string[] = util.resolveVariables(entry, env).split(";").filter(e => e);
440-
entries = this.resolveDefaults(entries, defaultValue);
441441
result = result.concat(entries);
442442
});
443443
}

0 commit comments

Comments
 (0)