Enabling retrying on 429 when checking github links

This avoids issues when reaching the github rate limit.
This commit is contained in:
Christophe Coevoet 2021-01-08 11:30:02 +01:00
parent fe88353603
commit f7066ef349

View File

@ -26,6 +26,7 @@ files.forEach(function (file) {
var dirname = path.dirname(urlModule.fileURLToPath(import.meta.url))
markdownLinkCheck(markdown, {
retryOn429: true, // Retry if the github rate limit is reached
baseUrl: path.basename(dirname) + '/'
}, function (err, results) {
if (err) {