Skip to content

Commit 1e7a20a

Browse files
Fix lint warnings in site/src/libs/path.ts
1 parent d6ca5ba commit 1e7a20a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

site/src/libs/path.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import fs from 'node:fs'
22
import path from 'node:path'
33
import { getConfig } from './config'
4-
import { fileURLToPath } from 'node:url';
4+
import { fileURLToPath } from 'node:url'
55

66
// The docs directory path relative to the root of the project.
77
export const docsDirectory = getConfig().docsDir
@@ -33,7 +33,7 @@ export function validateVersionedDocsPaths(distUrl: URL) {
3333

3434
for (const docsPath of generatedVersionedDocsPaths) {
3535
const sanitizedDocsPath = sanitizeVersionedDocsPathForValidation(docsPath)
36-
const absoluteDocsPath = fileURLToPath(new URL(path.join( './docs', docs_version, sanitizedDocsPath), distUrl));
36+
const absoluteDocsPath = fileURLToPath(new URL(path.join('./docs', docs_version, sanitizedDocsPath), distUrl))
3737

3838
const docsPathExists = fs.existsSync(absoluteDocsPath)
3939

0 commit comments

Comments
 (0)