Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: removed the commented statement
  • Loading branch information
anikethsaha committed Jun 10, 2019
1 parent 858a532 commit bf0efa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/utils/prompt-command.js
Expand Up @@ -50,7 +50,7 @@ module.exports = function promptForInstallation(packages, ...args) {
const nameOfPackage = "@webpack-cli/" + packages;
let packageIsInstalled = true;
let pathForCmd = "../../packages/init";
/* try {
try {
const path = require("path");
const fs = require("fs");
pathForCmd = path.resolve(process.cwd(), "node_modules", "@webpack-cli", packages);
Expand All @@ -64,7 +64,7 @@ module.exports = function promptForInstallation(packages, ...args) {
packageIsInstalled = true;
} catch (err) {
packageIsInstalled = false;
} */
}
if (!packageIsInstalled) {
const path = require("path");
const fs = require("fs");
Expand Down

0 comments on commit bf0efa5

Please sign in to comment.