Skip to content

Commit 7dcaec9

Browse files
authored
Don't check auto-generated ones pointing to the Open Lighting RDM site as the fixture may not exist
As mentioned in #999
1 parent df00bdd commit 7dcaec9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/external-links.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ if (isClimateStrike) {
4646
const externalUrlSet = new Set();
4747

4848
crawler.on(`externalLinkFound`, url => {
49-
// exclude canonical URLs
50-
if (!url.startsWith(`https://open-fixture-library.org`)) {
49+
// exclude canonical URLs and auto-generated ones pointing to the Open Lighting RDM site as the fixture may not exist
50+
if (!url.startsWith(`https://open-fixture-library.org`) && !url.startsWith(`http://rdm.openlighting.org/model/display`)) {
5151
externalUrlSet.add(url);
5252
process.stdout.write(`\r${externalUrlSet.size} link(s) found.`);
5353
}

0 commit comments

Comments
 (0)