Skip to content

Commit

Permalink
More accurate external link error
Browse files Browse the repository at this point in the history
  • Loading branch information
PuruVJ committed Sep 23, 2024
1 parent 57c5d17 commit b195d67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ async function checkLinks() {
});
if (!response.ok) {
slugErrors.add({
message: `External: Link to ${link} is broken`,
message: `External: Link to ${link} is ${response.status}:${response.statusText}`,
file: path,
line: lines.findIndex(line => line.includes(link)) + 1,
});
Expand Down

0 comments on commit b195d67

Please sign in to comment.