Skip to content

Commit 4223a79

Browse files
committed
update
1 parent a1d4740 commit 4223a79

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/validate-redirects.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@ async function main() {
2727
numUrlsWithFragment++;
2828
}
2929

30-
if (!validEndings.some((ending) => from.endsWith(ending)) && from != "/api") {
30+
if (
31+
!validEndings.some((ending) => from.endsWith(ending)) &&
32+
from != "/api"
33+
) {
3134
console.log(`✘ Found unslashed source URLs:\n ${from}`);
3235
numNonSlashedRedirects++;
3336
}

0 commit comments

Comments
 (0)