Skip to content

Commit

Permalink
Warn in LinkCheck.pm
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Apr 13, 2023
1 parent 863e12c commit b372449
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build_docs.pl
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ sub check_links {
say $link_checker->report;
}
else {
warn $link_checker->report;
die $link_checker->report;
}

}
Expand Down
2 changes: 1 addition & 1 deletion lib/ES/LinkCheck.pm
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ sub report {
push @error, " $file contains broken links to:";
push @error, map {" - $_"} sort keys %{ $bad->{$file} };
}
die join "\n", @error, '';
warn join "\n", @error, '';

}

Expand Down

0 comments on commit b372449

Please sign in to comment.