Skip to content

Commit

Permalink
squashme: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Viktor Gal <vigsterkr@gmail.com>
  • Loading branch information
olevski and vigsterkr committed Apr 8, 2022
1 parent 18c6293 commit 80acac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git_services/git_services/sidecar/rpc_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def autosave(**kwargs):
should_commit = not status_result["clean"]
should_push = status_result["ahead"] > 0

if not should_commit and not should_push:
if not (should_commit or should_push):
return

initial_commit = os.environ["CI_COMMIT_SHA"][0:7]
Expand Down

0 comments on commit 80acac8

Please sign in to comment.