Skip to content

Commit 0f55d5a

Browse files
committed
chore: one liner
1 parent 6d8fb67 commit 0f55d5a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

bin/cli.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -491,9 +491,7 @@ For more information, see https://webpack.js.org/api/cli/.`);
491491
if (compiler.close) compiler.close(compilerCallback);
492492
} else {
493493
compiler.run(compilerCallback);
494-
if (compiler.close) {
495-
compiler.close(compilerCallback);
496-
}
494+
if (compiler.close) compiler.close(compilerCallback);
497495
}
498496
}
499497

0 commit comments

Comments
 (0)