Skip to content

Commit 83adc87

Browse files
authored
Merge pull request #186 from noritaka1166/refactor-operator
2 parents fdfa286 + 34587ce commit 83adc87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/esm.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ export default function npmRunAll (patternOrPatterns, options) {
252252
if (taskList != null && Array.isArray(taskList) === false) {
253253
throw new Error('Invalid options.taskList')
254254
}
255-
if (typeof maxParallel !== 'number' || !(maxParallel >= 0)) {
255+
if (typeof maxParallel !== 'number' || maxParallel < 0) {
256256
throw new Error('Invalid options.maxParallel')
257257
}
258258
if (!parallel && aggregateOutput) {

0 commit comments

Comments
 (0)