Skip to content

Commit

Permalink
fix: askRequire didn't work (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lampese committed Aug 4, 2023
1 parent 0ca5dd4 commit e1d38bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ async function askVersion(packageName) {
}

async function askRequire(packagename) {
const need = (await askYes(`Require ${magenta(packagename)}? `)) === 'yes';
const need = await askYes(`Require ${magenta(packagename)}? `);
if (need) return { need, version: await askVersion(packagename) };
else return { need };
}
Expand Down

0 comments on commit e1d38bf

Please sign in to comment.