Added case insensitivity to restore prompt (#1152)

This commit is contained in:
Ascended 2022-09-15 10:19:07 -05:00 committed by GitHub
parent b7d6329dc1
commit b4de6caf69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,12 +37,12 @@ echo Stashing local changes and pulling latest update...
call git stash
call git pull
set /P restore="Do you want to restore changes you made before updating? (Y/N): "
IF "%restore%" == "N" (
IF /I "%restore%" == "N" (
echo Removing changes please wait...
call git stash drop
echo Changes removed, press any key to continue...
pause >nul
) ELSE IF "%restore%" == "Y" (
) ELSE IF /I "%restore%" == "Y" (
echo Restoring changes, please wait...
call git stash pop --quiet
echo Changes restored, press any key to continue...