Skip to content

Commit 31fcd4a

Browse files
jolheiserneurosnap
authored andcommitted
fix: only log status change if the status changes
Signed-off-by: jolheiser <[email protected]>
1 parent dbedbf6 commit 31fcd4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,7 @@ Here's how it works:
810810
return nil
811811
}
812812

813-
if nextStatus != "" {
813+
if prq.Status != nextStatus {
814814
err = pr.UpdatePatchRequestStatus(prID, user.ID, nextStatus)
815815
if err != nil {
816816
return err

0 commit comments

Comments
 (0)