Skip to content

Commit

Permalink
Merge pull request #74 from prisma/revert-73-chenkie/set-default-pack…
Browse files Browse the repository at this point in the history
…age-manager-npm
  • Loading branch information
jharrell authored Jan 22, 2025
2 parents e2ec21e + 742b135 commit c47aa80
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ In this scenario, you will still be prompted to input values for your preferred

### Selecting a package manager

If no package manager is specified, the default package manager will be `npm`.

If you wanted to use [`yarn`](https://yarnpkg.com/) to install the packages automatically:

```sh
Expand Down
2 changes: 1 addition & 1 deletion src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default class Cli {
extractManualIntallInstructions(install: boolean | "npm" | "yarn" | "pnpm") {
if (typeof install !== "string") {
this.args.install = install;
this.args.pkgMgr = "npm"; // default package manager is npm
this.args.pkgMgr = "";
} else {
this.args.pkgMgr = install;
this.args.install = true;
Expand Down

0 comments on commit c47aa80

Please sign in to comment.