mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Don't leak env variables from batch files
This commit is contained in:
parent
1050fef157
commit
3e78859e24
|
@ -1,4 +1,6 @@
|
|||
@echo off
|
||||
setlocal
|
||||
|
||||
title VSCode Dev
|
||||
|
||||
pushd %~dp0\..
|
||||
|
@ -23,9 +25,4 @@ set ELECTRON_ENABLE_STACK_DUMPING=1
|
|||
.\.build\electron\electron.exe . %*
|
||||
popd
|
||||
|
||||
:: Unset environment variables after we are done
|
||||
set NODE_ENV=
|
||||
set VSCODE_DEV=
|
||||
set ELECTRON_DEFAULT_ERROR_MODE=
|
||||
set ELECTRON_ENABLE_LOGGING=
|
||||
set ELECTRON_ENABLE_STACK_DUMPING=
|
||||
endlocal
|
|
@ -1,7 +1,10 @@
|
|||
@echo off
|
||||
setlocal
|
||||
|
||||
set ATOM_SHELL_INTERNAL_RUN_AS_NODE=1
|
||||
|
||||
pushd %~dp0\..
|
||||
.\.build\electron\electron.exe .\node_modules\mocha\bin\_mocha %*
|
||||
popd
|
||||
|
||||
endlocal
|
Loading…
Reference in a new issue