Skip to content

Commit 478340d

Browse files
committed
chore: fix prompt
1 parent 0acd33e commit 478340d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/utils/prompt-command.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ const runWhenInstalled = (packages, pathForCmd, ...args) => {
4848

4949
module.exports = function promptForInstallation(packages, ...args) {
5050
const nameOfPackage = "@webpack-cli/" + packages;
51-
let packageIsInstalled = true;
52-
let pathForCmd = "../../packages/init";
51+
let packageIsInstalled = false;
52+
let pathForCmd;
5353
try {
5454
const path = require("path");
5555
const fs = require("fs");

0 commit comments

Comments
 (0)