Skip to content

Commit

Permalink
Merge pull request #2168 from Microsoft/master
Browse files Browse the repository at this point in the history
  • Loading branch information
bobbrow authored Jun 22, 2018
2 parents 987347c + d3f7018 commit 9604256
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Extension/src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ export function resolveVariables(input: string, additionalEnvironment: {[key: st
}
case "config": {
let config: vscode.WorkspaceConfiguration = vscode.workspace.getConfiguration();
let keys: string[] = name.split('.');
keys.forEach((key: string) => { config = (config) ? config.get(key) : config; });
newValue = (config) ? config.toString() : undefined;
if (config) {
newValue = config.get<string>(name);
}
break;
}
case "workspaceFolder": {
Expand Down

0 comments on commit 9604256

Please sign in to comment.