From 0ead2d9f86c81e2833730f89f203d4098e36d252 Mon Sep 17 00:00:00 2001 From: "sentry[bot]" <39604003+sentry[bot]@users.noreply.github.com> Date: Mon, 3 Aug 2026 16:42:17 +0000 Subject: [PATCH] fix: clarify static-analysis command deprecation message --- codecov_cli/commands/staticanalysis.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/codecov_cli/commands/staticanalysis.py b/codecov_cli/commands/staticanalysis.py index 6dd8f3cd7..696ad35e3 100644 --- a/codecov_cli/commands/staticanalysis.py +++ b/codecov_cli/commands/staticanalysis.py @@ -59,4 +59,7 @@ def static_analysis( ): with sentry_sdk.start_transaction(op="task", name="Static Analysis"): with sentry_sdk.start_span(name="static_analysis"): - pass + logger.error( + "The static-analysis command has been removed and no longer performs any analysis. " + "Please upgrade to the latest version of codecov-cli and remove this command from your CI configuration." + )