From ac5a53f2d64cd45e1de119b2636dcf184284f912 Mon Sep 17 00:00:00 2001 From: Pranshu Chittora Date: Fri, 31 May 2019 20:56:55 +0530 Subject: [PATCH] fix(cli): removes the comment before err handling block removed the comment as per the suggestions by even --- bin/cli.js | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/cli.js b/bin/cli.js index 035f98f26fc..3172e6930d1 100755 --- a/bin/cli.js +++ b/bin/cli.js @@ -70,7 +70,6 @@ For more information, see https://webpack.js.org/api/cli/.`); try { options = require("./utils/convert-argv")(argv); } catch (err) { - // When webpack is not installed and no args passed to the CLI if (err.code === "MODULE_NOT_FOUND") { let errorMessage = "\n\u001b[31mwebpack not found, \u001b[33mplease install webpack using\n\t\u001b[32mnpm install --save-dev webpack\n";