Skip to content

Commit

Permalink
fix: remove db_session.flush() at end of commit_update
Browse files Browse the repository at this point in the history
  • Loading branch information
joseph-sentry committed Nov 26, 2024
1 parent c35236c commit 9d06ac1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tasks/commit_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@ def run_impl(
):
branch.head = commit.commitid

Check warning on line 118 in tasks/commit_update.py

View check run for this annotation

Codecov Notifications / codecov/patch

tasks/commit_update.py#L118

Added line #L118 was not covered by tests

db_session.flush()

except RepositoryWithoutValidBotError:
log.warning(
"Unable to reach git provider because repo doesn't have a valid bot",
Expand Down

0 comments on commit 9d06ac1

Please sign in to comment.