Skip to content

Commit

Permalink
fix: remove Invalid Comparison (#1090)
Browse files Browse the repository at this point in the history
Co-authored-by: Undefined <peizerao@gmail.com>
  • Loading branch information
hengshanMWC and PeterRao committed Apr 24, 2022
1 parent 3c08897 commit bbb55b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/common/parallel.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ proto._parallel = function _parallel(todo, parallel, jobPromise) {
done = true;
_jobErr.push(err);
resolve(_jobErr);
} else if (value === {} || (done && running <= 0)) {
} else if (done && running <= 0) {
done = true;
resolve(_jobErr);
} else if (!looping) {
Expand Down

0 comments on commit bbb55b8

Please sign in to comment.