提交 3e78859e 编写于 作者: A Alex Dima

Don't leak env variables from batch files

上级 1050fef1
@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=
\ No newline at end of file
endlocal
\ No newline at end of file
@echo off
setlocal
set ATOM_SHELL_INTERNAL_RUN_AS_NODE=1
pushd %~dp0\..
.\.build\electron\electron.exe .\node_modules\mocha\bin\_mocha %*
popd
endlocal
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册