1
0
mirror of https://github.com/DSPBluePrints/FactoryBluePrints.git synced 2025-12-11 06:33:28 +08:00

优化报错

This commit is contained in:
bWFuanVzYWth
2023-07-20 21:12:57 +08:00
parent 05485bac30
commit ccfcb64ca3

View File

@@ -8,6 +8,7 @@ dir>%LOG_PATH%
echo ---->>%LOG_PATH% echo ---->>%LOG_PATH%
::test dir ::test dir
echo %~dp0
cd .. cd ..
cd .. cd ..
if not exist "Blueprint" ( if not exist "Blueprint" (
@@ -40,7 +41,7 @@ goto end_with_error
) )
::test .git/ ::test .git/
%GIT_PATH% rev-parse --is-inside-work-tree %GIT_PATH% rev-parse --is-inside-work-tree>>%LOG_PATH%
if %errorlevel% NEQ 0 ( if %errorlevel% NEQ 0 (
echo 错误:.git/已损坏 echo 错误:.git/已损坏
echo %date% %time% Error: .git/ is broken>>%LOG_PATH% echo %date% %time% Error: .git/ is broken>>%LOG_PATH%