From 0f55d5a63a0a4ae28e69adb952847596faa05bf5 Mon Sep 17 00:00:00 2001 From: ev1stensberg Date: Mon, 28 Jan 2019 14:12:57 +0100 Subject: [PATCH] chore: one liner --- bin/cli.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bin/cli.js b/bin/cli.js index 2145e6d4e37..ea12dfc0c1e 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -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); } }