Skip to content

Commit

Permalink
Check for non-negative value for parallelism
Browse files Browse the repository at this point in the history
  • Loading branch information
mutahhir committed Sep 14, 2022
1 parent 54ccec2 commit 4ce7fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cdktf-cli/lib/models/terraform-cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class TerraformCli implements Terraform {
if (refreshOnly) {
options.push("-refresh-only");
}
if (parallelism !== -1) {
if (parallelism > -1) {
options.push(`-parallelism=${parallelism}`);
}
await this.setUserAgent();
Expand Down

0 comments on commit 4ce7fa8

Please sign in to comment.