mirror of
				https://github.com/cmderdev/cmder.git
				synced 2025-10-31 09:22:15 +08:00 
			
		
		
		
	fix: bug when no argument is passed in
This commit is contained in:
		| @@ -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" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user