We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85790dc commit 1ceae1aCopy full SHA for 1ceae1a
1 file changed
branch-diff.js
@@ -54,7 +54,7 @@ async function findMergeBase (repoPath, branch1, branch2) {
54
}
55
56
function normalizeIfTrailingSlash (commit) {
57
- if (commit.prUrl.at(-1) === '/') {
+ if (commit.prUrl && commit.prUrl.at(-1) === '/') {
58
commit.prUrl = commit.prUrl.slice(0, -1)
59
60
0 commit comments