Skip to content

Commit 6423e23

Browse files
committed
Shorten excessively long line
1 parent 910f3b3 commit 6423e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ async function nodeExternals(options: ExternalsOptions = {}): Promise<Plugin> {
176176

177177
if (packagePaths.length === 0) {
178178
search:
179-
for (let current = process.cwd(), previous: string | undefined = undefined; previous !== current; previous = current, current = path.dirname(current)) {
179+
for (let current = process.cwd(), previous = ''; previous !== current; previous = current, current = path.dirname(current)) {
180180

181181
// Gather package.json files.
182182
let name = path.join(current, 'package.json')

0 commit comments

Comments
 (0)