mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-04-08 14:48:44 +08:00
Fix: Allow git config failures
Signed-off-by: LmeSzinc <37934724+LmeSzinc@users.noreply.github.com>
This commit is contained in:
@@ -38,9 +38,9 @@ class GitManager(DeployConfig):
|
|||||||
self.execute(f'"{self.git}" config --local --unset https.proxy', allow_failure=True)
|
self.execute(f'"{self.git}" config --local --unset https.proxy', allow_failure=True)
|
||||||
|
|
||||||
if ssl_verify:
|
if ssl_verify:
|
||||||
self.execute(f'"{self.git}" config --local http.sslVerify true')
|
self.execute(f'"{self.git}" config --local http.sslVerify true', allow_failure=True)
|
||||||
else:
|
else:
|
||||||
self.execute(f'"{self.git}" config --local http.sslVerify false')
|
self.execute(f'"{self.git}" config --local http.sslVerify false', allow_failure=True)
|
||||||
|
|
||||||
logger.hr('Set Git Repository', 1)
|
logger.hr('Set Git Repository', 1)
|
||||||
if not self.execute(f'"{self.git}" remote set-url {source} {repo}', allow_failure=True):
|
if not self.execute(f'"{self.git}" remote set-url {source} {repo}', allow_failure=True):
|
||||||
|
|||||||
Reference in New Issue
Block a user