We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2273ae0 commit 516fd30Copy full SHA for 516fd30
1 file changed
codegen/validate-redirects.ts
@@ -17,10 +17,7 @@ interface BrokenRedirect {
17
reason: string
18
}
19
20
-function findForeignSection(
21
- path: string,
22
- ownRoot: string,
23
-): string | undefined {
+function findForeignSection(path: string, ownRoot: string): string | undefined {
24
for (const other of siteSections) {
25
if (other.root === ownRoot) continue
26
const prefix = other.urlPrefix.replace(/^\//, '') + '/'
0 commit comments