mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-10 16:29:08 +08:00
fix: bug when no argument is passed in
This commit is contained in:
parent
add82a247b
commit
0ce1db97d0
@ -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"
|
||||
|
||||
```
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user