Skip to content

Commit

Permalink
check for package manager
Browse files Browse the repository at this point in the history
  • Loading branch information
chenkie committed Jan 22, 2025
1 parent c47aa80 commit 2beae5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ export default class Cli {
this.args.install = await prompts.getInstallSelection();
}

if (!this.args.pkgMgr.length && this.args.install) {
if (this.args.install && !this.args.pkgMgr) {
this.args.pkgMgr = await prompts.selectManager();
}

Expand Down

0 comments on commit 2beae5b

Please sign in to comment.