Logs
Patchset ps-18
fix: only log status change if the status changes
jolheiser
cli.go
+1
-1
fix: only log status change if the status changes
Signed-off-by: jolheiser <git@jolheiser.com>
cli.go
link
+1
-1
+1
-1
1diff --git a/cli.go b/cli.go
2index 93869c8..40d9a04 100644
3--- a/cli.go
4+++ b/cli.go
5@@ -810,7 +810,7 @@ Here's how it works:
6 return nil
7 }
8
9- if nextStatus != "" {
10+ if prq.Status != nextStatus {
11 err = pr.UpdatePatchRequestStatus(prID, user.ID, nextStatus)
12 if err != nil {
13 return err