diff options
author | Martin Aeschlimann <martinae@microsoft.com> | 2021-03-15 12:14:58 +0300 |
---|---|---|
committer | Martin Aeschlimann <martinae@microsoft.com> | 2021-03-15 12:15:45 +0300 |
commit | 3d626dd868ecbf39fd1dc133ca0fc9d38c1811df (patch) | |
tree | a84aae16f9f757b2861e1985ecd3b4a60fb60419 /scripts | |
parent | 640fa1af29d47b4d4fa09ff9b7c12521679ef634 (diff) |
Use "%~1" instead of "%1" in bat argument parsing.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/code.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/code.bat b/scripts/code.bat index a05bea92d57..008c54fcbde 100644 --- a/scripts/code.bat +++ b/scripts/code.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 NODE_ENV=development |