We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df00bdd commit 7dcaec9Copy full SHA for 7dcaec9
tests/external-links.js
@@ -46,8 +46,8 @@ if (isClimateStrike) {
46
const externalUrlSet = new Set();
47
48
crawler.on(`externalLinkFound`, url => {
49
- // exclude canonical URLs
50
- if (!url.startsWith(`https://open-fixture-library.org`)) {
+ // exclude canonical URLs and auto-generated ones pointing to the Open Lighting RDM site as the fixture may not exist
+ if (!url.startsWith(`https://open-fixture-library.org`) && !url.startsWith(`http://rdm.openlighting.org/model/display`)) {
51
externalUrlSet.add(url);
52
process.stdout.write(`\r${externalUrlSet.size} link(s) found.`);
53
}
0 commit comments