Skip to content

Commit

Permalink
fix: use cwd instead of prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoenig134 committed Feb 12, 2025
1 parent 15a4831 commit 6f697d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/ReleaseManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class ReleaseManager {
if (fs.existsSync(path.join(connectorDir, "node_modules"))) return

await new Promise<void>((resolve, reject) => {
const npmInstall = spawn("npm", ["install", "--prefix", connectorDir, "--production"], { stdio: "ignore" })
const npmInstall = spawn("npm", ["install", "--production"], { stdio: "ignore", cwd: connectorDir })

npmInstall.on("close", (code) => {
if (code !== 0) {
Expand Down

0 comments on commit 6f697d9

Please sign in to comment.