Skip to content

Commit

Permalink
Update cli_updater.py
Browse files Browse the repository at this point in the history
  • Loading branch information
0x41424142 authored Oct 9, 2024
1 parent cc04d7c commit 177a76d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions qualysdk/cli_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def main() -> int:
show_update_info(pypi_data)
if args.install:
if args.yes or prompt_for_install():
print(f"⬆️ {YELLOW} Installing v{latest_version}...{RESET}")
print(f"🟧 {YELLOW}Installing v{latest_version}...{RESET}")
try:
check_call(
[
Expand All @@ -203,18 +203,18 @@ def main() -> int:
]
)
print(
f"✅ {GREEN}qualysdk has been updated to v{latest_version}{RESET}"
f"✅ {GREEN}Qualysdk has been updated to v{latest_version}{RESET}"
)
except Exception as e:
print(f"{RED}qualysdk update failed: {type(e).__name__}{RESET}")
print(f"{RED}Qualysdk update failed: {type(e).__name__}{RESET}")
return 1
return 0
else:
print(f"{RED}Upgrade cancelled.{RESET}")
return 0
return 0
else:
print(f"✅ {GREEN}qualysdk is up to date (v{current_version}).{RESET}")
print(f"✅ {GREEN}Qualysdk is up to date (v{current_version}).{RESET}")
return 0


Expand Down

0 comments on commit 177a76d

Please sign in to comment.