refactor: improve code formatting and readability in service and update scripts
This commit is contained in:
@@ -59,7 +59,9 @@ def check_git_repository():
|
||||
# Fetch the latest changes
|
||||
status, output = run_command(["git", "fetch"], shell=False)
|
||||
if not status:
|
||||
printfe("yellow", f"Warning: Failed to fetch changes from git repository: {output}")
|
||||
printfe(
|
||||
"yellow", f"Warning: Failed to fetch changes from git repository: {output}"
|
||||
)
|
||||
printfe("yellow", "Continuing update process without repository check...")
|
||||
os.chdir(current_dir)
|
||||
return True
|
||||
|
Reference in New Issue
Block a user