1
0
mirror of synced 2025-12-23 11:54:18 -05:00

make broken link output easier to find

This commit is contained in:
Sarah Schneider
2021-01-22 13:58:59 -05:00
parent 295e5dc1f0
commit f1b2a41a26

View File

@@ -33,7 +33,9 @@ async function main () {
process.exit(0) process.exit(0)
} }
console.log('\n==============================')
console.log(`Found ${brokenLinks.length} total broken links: ${JSON.stringify([...brokenLinks], null, 2)}`) console.log(`Found ${brokenLinks.length} total broken links: ${JSON.stringify([...brokenLinks], null, 2)}`)
console.log('==============================\n')
// Exit unsuccessfully if broken links are found. // Exit unsuccessfully if broken links are found.
process.exit(1) process.exit(1)