Skip to content

Commit

Permalink
chore: one liner
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed Feb 5, 2019
1 parent 6d8fb67 commit 0f55d5a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,9 +491,7 @@ For more information, see https://webpack.js.org/api/cli/.`);
if (compiler.close) compiler.close(compilerCallback);
} else {
compiler.run(compilerCallback);
if (compiler.close) {
compiler.close(compilerCallback);
}
if (compiler.close) compiler.close(compilerCallback);
}
}

Expand Down

0 comments on commit 0f55d5a

Please sign in to comment.