File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments