one-click: minor fix after 5e87678fea

This commit is contained in:
oobabooga 2024-01-28 06:14:15 -08:00
parent 26c3ab367e
commit d921f80322

View File

@ -268,7 +268,7 @@ def update_requirements(initial_installation=False):
]
before_pull_hashes = {file_name: calculate_file_hash(file_name) for file_name in files_to_check}
run_cmd("git pull --autostash origin main", assert_success=True, environment=True)
run_cmd("git pull --autostash", assert_success=True, environment=True)
after_pull_hashes = {file_name: calculate_file_hash(file_name) for file_name in files_to_check}
# Check for differences in installation file hashes