Skip to content

Commit

Permalink
fix: run npm in a shell
Browse files Browse the repository at this point in the history
  • Loading branch information
theBenForce committed Oct 3, 2019
1 parent 3a704b9 commit 4f0fd7d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export default async function RollupCode(codePath: string, config: RollupOptions
console.info(`Installing packages in ${tmpDir.name}`);

await execa(`npm install ${installedPackages.join(" ")}`, {
cwd: tmpDir.name
cwd: tmpDir.name,
shell: true
});
}

Expand Down

0 comments on commit 4f0fd7d

Please sign in to comment.