Skip to content

Commit 6ee406a

Browse files
committed
Fix linter
1 parent 39cc0b4 commit 6ee406a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

options-loader/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { existsSync, readFileSync } from 'fs'
2-
import { join } from 'path'
1+
import { existsSync, readFileSync } from 'node:fs'
2+
import { join } from 'node:path'
33
import pico from 'picocolors'
44

55
export function loadOptions(spec, process, env) {
@@ -91,7 +91,7 @@ function loadEnv(file) {
9191
let lines
9292
try {
9393
lines = readFileSync(file, 'utf8').split('\n')
94-
} catch (error) {
94+
} catch {
9595
/* c8 ignore next 2 */
9696
return undefined
9797
}

0 commit comments

Comments
 (0)