From 867a8c99afe117391f8655ac3b055f58f7b2e7ec Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Sun, 8 Nov 2020 08:35:09 +0530 Subject: [PATCH] refactor: path.resolve calls Co-authored-by: James George --- bin/webpack.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/webpack.js b/bin/webpack.js index 79f6d03d337..d51b338c8ab 100755 --- a/bin/webpack.js +++ b/bin/webpack.js @@ -82,7 +82,7 @@ if (!cli.installed) { console.error(notify); - const isNpm = fs.existsSync(path.resolve(process.cwd(), "package-lock.json")); + const isNpm = fs.existsSync(path.resolve("package-lock.json")); let isYarn = false;