Skip to content

Commit cca9958

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 64c162c commit cca9958

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

site/scripts/verify-proof-links.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ for (const entry of entries) {
6565
console.log(`ok ${entry.name} @ ${sha.slice(0, 7)}`)
6666
} catch (error) {
6767
failures++
68-
console.warn(`warn ${entry.name}: ${error.message} — keeping existing permalink`)
68+
const message = error instanceof Error ? error.message : String(error)
69+
console.warn(`warn ${entry.name}: ${message} — keeping existing permalink`)
6970
}
7071
}
7172

0 commit comments

Comments
 (0)