From 1a81daafdc71c781172aba4885d7bab45aa34208 Mon Sep 17 00:00:00 2001 From: Hubert Deng Date: Tue, 10 Dec 2024 14:37:28 -0800 Subject: [PATCH] avoid checking for update in CI --- devservices/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devservices/main.py b/devservices/main.py index 7187c40..5efc506 100644 --- a/devservices/main.py +++ b/devservices/main.py @@ -102,7 +102,7 @@ def main() -> None: else: parser.print_help() - if args.command != "update": + if args.command != "update" and os.environ.get("CI") != "true": newest_version = check_for_update() if newest_version != current_version: console.warning(