fix: bug when no argument is passed in

This commit is contained in:
xiazeyu_2011 2018-05-18 21:02:36 +08:00
parent add82a247b
commit 0ce1db97d0
No known key found for this signature in database
GPG Key ID: F8162BE75DCCDC2D
2 changed files with 2 additions and 2 deletions

View File

@ -294,7 +294,7 @@ And here's the related fragment of my `user-profile.cmd`:
```batch
call have NOT "/noautorun" "cmd /c "start %cmder_root%\bin\vsCode\Code.exe --user-data-dir %vsCodeUserData% --extensions-dir %vsCodeExtensionsDir% %* %vsCodeUserData%\code.code-workspace"
call have NOT "/noautorun" "cmd /c start %cmder_root%\bin\vsCode\Code.exe --user-data-dir %vsCodeUserData% --extensions-dir %vsCodeExtensionsDir% %* %vsCodeUserData%\code.code-workspace"
```

View File

@ -4,7 +4,7 @@ setlocal
if "%~1" equ "" goto :wrongSyntax
if not defined CMDER_USER_FLAGS (
exit /b
set "CMDER_USER_FLAGS= "
)
set "haveBatNOT=false"