mirror of
https://github.com/DSPBluePrints/FactoryBluePrints.git
synced 2025-12-09 07:53:37 +08:00
优化更新脚本的报错显示
This commit is contained in:
@@ -40,7 +40,7 @@ goto end_with_error
|
|||||||
)
|
)
|
||||||
|
|
||||||
::test .git/
|
::test .git/
|
||||||
%GIT_PATH% rev-parse --resolve-git-dir "%~dp0.git"
|
%GIT_PATH% rev-parse --path-format=absolute --git-dir
|
||||||
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%
|
||||||
|
|||||||
Reference in New Issue
Block a user