Skip to content

Commit

Permalink
Move the parsing and default value for concurrency option in Configur…
Browse files Browse the repository at this point in the history
…ation class
  • Loading branch information
coyoteecd authored and vicary committed Mar 1, 2021
1 parent 0ec8200 commit 7164e8c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/Configuration.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,7 @@ class Configuration {
}

get concurrency() {
if (this._config.concurrency !== undefined) {
return this._config.concurrency;
} else if (this._config.serializedCompile === true) {
return 1;
}
return this._config.concurrency;
}

toJSON() {
Expand Down

0 comments on commit 7164e8c

Please sign in to comment.