Skip to content

Commit 7fb22ab

Browse files
committed
ci
1 parent e4d3b96 commit 7fb22ab

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

script/beta.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ async function main() {
6666
const compare = `${repo.nameWithOwner}/compare/dev...${head.headRepository.nameWithOwner}:${head.headRefName}`
6767
const diffResult = await $`gh api -H Accept:application/vnd.github.v3.diff repos/${compare}`.nothrow()
6868
if (diffResult.exitCode !== 0) {
69-
console.log(` Failed to get diff`)
69+
console.log(` Failed to get diff: ${diffResult.stderr}`)
70+
console.log(` Compare: ${compare}`)
7071
skipped.push({ number: pr.number, reason: `Failed to get diff: ${diffResult.stderr}` })
7172
continue
7273
}

0 commit comments

Comments
 (0)