diff options
author | Martin Aeschlimann <martinae@microsoft.com> | 2021-03-15 14:33:32 +0300 |
---|---|---|
committer | Martin Aeschlimann <martinae@microsoft.com> | 2021-03-15 14:33:58 +0300 |
commit | e8c71c048fab2732cbc840b1c67f5d403e975301 (patch) | |
tree | 279be515f48b81f56c74a9eedb874fe94080d439 /scripts | |
parent | c7a86c07979d67528f7376db5f82b6e1fd4d169e (diff) |
use %~1 in bat files
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/code-cli.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/code-cli.bat b/scripts/code-cli.bat index 2e4e34ff32e..50c85a55143 100644 --- a/scripts/code-cli.bat +++ b/scripts/code-cli.bat @@ -14,7 +14,7 @@ set NAMESHORT=%NAMESHORT:"=%.exe set CODE=".build\electron\%NAMESHORT%" :: Manage built-in extensions -if "%1"=="--builtin" goto builtin +if "%~1"=="--builtin" goto builtin :: Configuration set ELECTRON_RUN_AS_NODE=1 |