fix(cli): prevent update check during completions

This commit is contained in:
she11sh0cked
2024-11-19 15:24:55 +01:00
parent 0b1a27b223
commit 050ba740b8
2 changed files with 9 additions and 1 deletions

View File

@@ -226,7 +226,7 @@ def run_cli(
from .config import Config
ctx.obj = Config()
if ctx.obj.check_for_updates:
if ctx.obj.check_for_updates and ctx.invoked_subcommand != "completions":
from .app_updater import check_for_updates
print("Checking for updates...")