Skip to content

Commit feb41e8

Browse files
committed
fix: update to latest makes 0.7.0 run()
1 parent 9d922b0 commit feb41e8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

after.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ module.exports = async function({
1616

1717
const choices = [
1818
{title: 'No'},
19-
{value: 'npm i', title: 'Yes, use npm'}
19+
{value: 'npm', title: 'Yes, use npm'}
2020
];
2121

2222
if (isAvailable('yarn')) {
2323
choices.push({value: 'yarn', title: 'Yes, use yarn'});
2424
}
2525

2626
if (isAvailable('pnpm')) {
27-
choices.push({value: 'pnpm i', title: 'Yes, use pnpm'});
27+
choices.push({value: 'pnpm', title: 'Yes, use pnpm'});
2828
}
2929

3030
const result = await prompts.select({
@@ -33,7 +33,7 @@ module.exports = async function({
3333
});
3434

3535
if (result) {
36-
await run(result);
36+
await run(result, ['install']);
3737
}
3838

3939
const c = ansiColors;

0 commit comments

Comments
 (0)