Skip to content

Commit

Permalink
fix: pass iterable into any() instead of lambda (#349)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-codecov authored Mar 27, 2024
1 parent fb78207 commit 14ffa91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks/notify.py
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,8 @@ def run_impl_within_lock(
)
)
rely_on_webhook_ghapp = ghapp_default_installations != [] and any(
lambda obj: obj.is_repo_covered_by_integration(commit.repository)
obj.is_repo_covered_by_integration(commit.repository)
for obj in ghapp_default_installations
)
rely_on_webhook_legacy = commit.repository.using_integration
if (
Expand Down

0 comments on commit 14ffa91

Please sign in to comment.