Skip to content

Commit e563ff9

Browse files
committed
addresses issue in #401 whitelists all links with typegraphs
- all typegraph headings have an id of typegraphrelations - if a target contains this, the target is passed - it will not work if the target is in an external file, so this test is too broad, but given the rarity of such a link, I think this fix is the best use of time
1 parent a754afa commit e563ff9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Website/plugins/link-error-test/let-callable.raku

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ sub ($pr, %processed, %options) {
2424
my @structure-files;
2525

2626
sub failed-targets($file, Str $target) {
27+
return () if $target.contains('typegraphrelations');
2728
my $old = $target.trim;
2829
my @ok-targets;
2930
my @tested-variants;

0 commit comments

Comments
 (0)