Skip to content
This repository has been archived by the owner on Apr 15, 2024. It is now read-only.

Commit

Permalink
fix: npm wrong place
Browse files Browse the repository at this point in the history
  • Loading branch information
davidzwa committed Oct 30, 2023
1 parent 549b7d3 commit 630c0bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "David Zwart",
"license": "AGPL-3.0-or-later",
"private": false,
"version": "0.1.4-alpha",
"version": "0.1.5-alpha",
"bin": {
"fdm-monster": "dist/cli.js",
"fdmm": "dist/cli.js"
Expand Down
2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ async function removeService(cwd: string, workspace: string, tolerateMissing: bo

function runInstall(path: string, useNpmInstead: boolean = false) {
// Installs package.json packages
execSync(useNpmInstead ? "yarn install" : "npm i", {
execSync(useNpmInstead ? "npm i" : "yarn install", {
cwd: path,
});
}
Expand Down

0 comments on commit 630c0bc

Please sign in to comment.