Skip to content

Commit

Permalink
fix(install): fix incorrect concurrency option when creating a dev in…
Browse files Browse the repository at this point in the history
…stall (#15)

Creating a development install would result in an error because the dashes of the concurrency option that is passed through npm to lerna was missing the two dashes.
This bug was introduced in a refactoring in a593c42.
  • Loading branch information
hlxid authored Jul 18, 2021
1 parent 9d21ec6 commit e2fd78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/install/development.ts
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,6 @@ async function installNPMDependencies(nodecgIODir: string) {

async function buildTypeScript(nodecgIODir: string, concurrency: number) {
logger.info("Compiling nodecg-io...");
await runNpmBuild(nodecgIODir, "--", "concurrency", concurrency.toString());
await runNpmBuild(nodecgIODir, "--", "--concurrency", concurrency.toString());
logger.success("Compiled nodecg-io.");
}

0 comments on commit e2fd78b

Please sign in to comment.