Skip to content

Commit

Permalink
👷 Update action version (#3691)
Browse files Browse the repository at this point in the history
* 👷 Update action version

* 🐛 Fix no. new warnings
  • Loading branch information
je-cook committed Dec 4, 2024
1 parent 82274a4 commit 4af381e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/format_warning_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,7 @@ def format_warning_report(sys_args: list[str]) -> int:
)
if new:
warning_list = format_warnings_list(new)
report.extend(
make_collapsable(warning_list, f"New warnings ({len(warnings)})")
)
report.extend(make_collapsable(warning_list, f"New warnings ({len(new)})"))
exit_code = len(new)
else:
plural = "" if len(warnings) == 1 else "s"
Expand Down

0 comments on commit 4af381e

Please sign in to comment.