From 53afd39a13128a0cb1675ef9bc23fc14065a8176 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 1 Feb 2022 11:33:49 -0500 Subject: [PATCH] mention about false positives (#24864) --- script/check-english-links.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/script/check-english-links.js b/script/check-english-links.js index 0f528dd2d0..3b2411bab2 100755 --- a/script/check-english-links.js +++ b/script/check-english-links.js @@ -138,6 +138,9 @@ async function main() { // Format and display the results. console.log(`${brokenLinks.length} broken links found on docs.github.com\n`) displayBrokenLinks(brokenLinks) + console.log( + '\nIf links are "false positives" (e.g. can only be opened by a browser) consider making a pull request that edits `lib/excluded-links.js`.' + ) // Exit unsuccessfully if broken links are found. process.exit(1)