1
0
mirror of synced 2025-12-20 02:19:14 -05:00

github/github link checker issue with particular link (#31814)

This commit is contained in:
Peter Bengtsson
2022-10-18 18:53:40 +02:00
committed by GitHub
parent 6083412284
commit 46496ee277

View File

@@ -112,7 +112,10 @@ async function main() {
(contents.substring(numIndex, numIndex + 11) === 'GitHub.help' &&
contents.charAt(numIndex + 16) === '#') ||
(contents.substring(numIndex, numIndex + 16) === 'GitHub.developer' &&
contents.charAt(numIndex + 26) === '#')
contents.charAt(numIndex + 26) === '#') ||
// See internal issue #2180
contents.slice(numIndex, numIndex + 'GitHub.help_url}/github/#{'.length) ===
'GitHub.help_url}/github/#{'
) {
return
}