aboutsummaryrefslogtreecommitdiffstats
path: root/client/go/cond_make.go
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-02-07 10:47:15 +0100
committerMartin Polden <mpolden@mpolden.no>2023-02-07 10:47:15 +0100
commit123e3d9ead2b1640b78c53412b4d1a6be57fa517 (patch)
tree777cafb65c9a722e2d30f0f06074c98a00d5295f /client/go/cond_make.go
parentd7173a4ef8190a8def529794b4f072771c784722 (diff)
Fix duplicate PR detection
Diffstat (limited to 'client/go/cond_make.go')
-rw-r--r--client/go/cond_make.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/cond_make.go b/client/go/cond_make.go
index 4fba3efcb16..7792351d183 100644
--- a/client/go/cond_make.go
+++ b/client/go/cond_make.go
@@ -196,7 +196,7 @@ func releaseToHomebrew(target string) error {
defer checkoutRef(prevBranch)
_, stderr, err := runCmd("make", "--", target)
if err != nil {
- if strings.Contains(stderr, "Error: These pull requests may be duplicates:") {
+ if strings.Contains(stderr, "Duplicate PRs should not be opened") {
return nil // fine, pull request already created
}
}