Skip to content

Commit

Permalink
fix: fix dependency installation - version bump
Browse files Browse the repository at this point in the history
JST-500
  • Loading branch information
pgrzy-golem committed Oct 20, 2023
1 parent 93b3b51 commit 14b4cfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/new/new.action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ function installDependencies(options: NewOptions, projectPath: string) {
const pkg = getPackageManager();
const args = pkg.name === "yarn" ? [] : ["install"];

// `shell: true` is required by Windows to run npm.
const result = spawnSync(pkg.name, args, { cwd: projectPath, stdio: "inherit", shell: true });

if (result.error) {
Expand Down

0 comments on commit 14b4cfd

Please sign in to comment.