We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a1d4740 commit 4223a79Copy full SHA for 4223a79
bin/validate-redirects.ts
@@ -27,7 +27,10 @@ async function main() {
27
numUrlsWithFragment++;
28
}
29
30
- if (!validEndings.some((ending) => from.endsWith(ending)) && from != "/api") {
+ if (
31
+ !validEndings.some((ending) => from.endsWith(ending)) &&
32
+ from != "/api"
33
+ ) {
34
console.log(`✘ Found unslashed source URLs:\n ${from}`);
35
numNonSlashedRedirects++;
36
0 commit comments