Skip to content

Commit

Permalink
Merge pull request #33 from justindhillon/skip-unsupported-urls
Browse files Browse the repository at this point in the history
Improve user experience
  • Loading branch information
justindhillon authored Dec 6, 2023
2 parents 765c017 + d574af1 commit 6338afc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/scan/writeBrokenLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@ async function writeBrokenLinks(links, PATH, fluff) {
});
});
if (result.status === "dead") writeToFile(link, PATH, fluff);
} catch (err) {
console.error('Error: failed to validate', link, err);
}
} catch {} // This is in a try catch to skip over unsupported urls
}
return;
};
Expand Down

0 comments on commit 6338afc

Please sign in to comment.