Skip to content

Commit

Permalink
Merge pull request #172 from Rulrn/issue_112
Browse files Browse the repository at this point in the history
 Output messages are sometimes misleading #112
  • Loading branch information
dmerejkowsky authored Dec 6, 2023
2 parents 146c9b3 + b57ea93 commit 77f143f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tbump/file_bumper.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,8 @@ def compute_change_requests(self) -> List[ChangeRequest]:
change_requests = []
for file in self.files:
change_request = self.compute_change_request_for_file(file)
if change_request.old_string == change_request.new_string:
continue
change_requests.append(change_request)
return change_requests

Expand Down

0 comments on commit 77f143f

Please sign in to comment.