mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-11 00:39: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
|
```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 "%~1" equ "" goto :wrongSyntax
|
||||||
|
|
||||||
if not defined CMDER_USER_FLAGS (
|
if not defined CMDER_USER_FLAGS (
|
||||||
exit /b
|
set "CMDER_USER_FLAGS= "
|
||||||
)
|
)
|
||||||
|
|
||||||
set "haveBatNOT=false"
|
set "haveBatNOT=false"
|
||||||
|
Loading…
Reference in New Issue
Block a user