Skip to content

Commit c6e0784

Browse files
committed
Fix linting issues
1 parent 93f10c6 commit c6e0784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ async function nodeExternals(options: ExternalsOptions = {}): Promise<Plugin> {
179179
for (let current = process.cwd(), previous: string | undefined = undefined; previous !== current; previous = current, current = path.dirname(current)) {
180180

181181
// Gather package.json files.
182-
let name = path.join(current, 'package.json')
183-
let stat = await fs.stat(name).catch(() => null)
182+
const name = path.join(current, 'package.json')
183+
const stat = await fs.stat(name).catch(() => null)
184184
if (stat?.isFile())
185185
packagePaths.push(name)
186186

0 commit comments

Comments
 (0)