1
0
mirror of https://github.com/0O0o0oOoO00/Alas.git synced 2026-05-14 11:49:26 +08:00

Fix: Fix update stuck issue

Fix the problem of getting stuck when entering the interactive interface when the pager prints the update log
This commit is contained in:
xausky
2023-02-23 19:16:00 +08:00
committed by GitHub
parent 84c66ea2ac
commit d4bd232a10

View File

@@ -72,7 +72,7 @@ class GitManager(DeployConfig):
self.execute(f'"{self.git}" pull --ff-only {source} {branch}')
logger.hr('Show Version', 1)
self.execute(f'"{self.git}" log --no-merges -1')
self.execute(f'"{self.git}" --no-pager log --no-merges -1')
def git_install(self):
logger.hr('Update Alas', 0)