Skip to content

Commit e516047

Browse files
committed
ci: Format code
1 parent 30edcf2 commit e516047

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

codegen/validate-links.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { existsSync, readFileSync, readdirSync, statSync } from 'node:fs'
1+
import { existsSync, readdirSync, readFileSync } from 'node:fs'
22
import { join } from 'node:path'
33

44
import {
@@ -15,10 +15,7 @@ const siteSections: Array<{ urlPrefix: string; root: string }> = [
1515
{ urlPrefix: '', root: guidesRoot },
1616
]
1717

18-
const urlPattern = new RegExp(
19-
`${baseUrl.replaceAll('.', '\\.')}[^)\\s]+`,
20-
'g',
21-
)
18+
const urlPattern = new RegExp(`${baseUrl.replaceAll('.', '\\.')}[^)\\s]+`, 'g')
2219

2320
interface BrokenLink {
2421
file: string

0 commit comments

Comments
 (0)