Skip to content

Commit ba57f0a

Browse files
committed
🐛 Fix getRemoteDefaultBranch regexp
1 parent 4b51785 commit ba57f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pull_request_url.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async function getRemoteDefaultBranch(
8888
["remote", "show", remote],
8989
options,
9090
);
91-
const m = stdout.match(/HEAD branch: (.*)$/);
91+
const m = stdout.match(/HEAD branch: (.*)/);
9292
if (!m) {
9393
return undefined;
9494
}

0 commit comments

Comments
 (0)