Skip to content

Commit 8bd4ad5

Browse files
committed
Match both known forms, oops
1 parent ecd4e82 commit 8bd4ad5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

R/pr.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,9 +645,10 @@ pr_clean <- function(
645645
# The expected error doesn't have a distinctive class, so we have to
646646
# detect it based on the message.
647647
# If we got an unexpected libgit2 error, rethrow.
648+
648649
if (
649650
!grepl(
650-
"could not find key 'branch[.].+[.]vscode-merge-base' to delete",
651+
"could not find key 'branch[.].+[.](vscode-merge-base|github-pr-owner-number)' to delete",
651652
e$message
652653
)
653654
) {

0 commit comments

Comments
 (0)