Skip to content

Commit fe69ea3

Browse files
committed
fix #1195
1 parent ea4271a commit fe69ea3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/client/common/systemVariables.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ export abstract class AbstractSystemVariables implements ISystemVariables {
9595
if (Types.isString(newValue)) {
9696
return newValue;
9797
} else {
98-
return match && match.indexOf('env.') > 0 ? '' : match;
98+
return match && (match.indexOf('env.') > 0 || match.indexOf('env:') > 0) ? '' : match;
9999
}
100100
});
101101
}
@@ -140,7 +140,7 @@ export class SystemVariables extends AbstractSystemVariables {
140140
this._workspaceRoot = typeof vscode.workspace.rootPath === 'string' ? vscode.workspace.rootPath : __dirname;;
141141
this._workspaceRootFolderName = Path.basename(this._workspaceRoot);
142142
Object.keys(process.env).forEach(key => {
143-
this[`env.${key}`] = process.env[key];
143+
this[`env:${key}`] = this[`env.${key}`] = process.env[key];
144144
});
145145
}
146146

0 commit comments

Comments
 (0)