Skip to content

Commit b4de6ca

Browse files
Added case insensitivity to restore prompt (#1152)
1 parent b7d6329 commit b4de6ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

update_to_latest.cmd

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,12 @@ echo Stashing local changes and pulling latest update...
3737
call git stash
3838
call git pull
3939
set /P restore="Do you want to restore changes you made before updating? (Y/N): "
40-
IF "%restore%" == "N" (
40+
IF /I "%restore%" == "N" (
4141
echo Removing changes please wait...
4242
call git stash drop
4343
echo Changes removed, press any key to continue...
4444
pause >nul
45-
) ELSE IF "%restore%" == "Y" (
45+
) ELSE IF /I "%restore%" == "Y" (
4646
echo Restoring changes, please wait...
4747
call git stash pop --quiet
4848
echo Changes restored, press any key to continue...

0 commit comments

Comments
 (0)