Made a null-error-object a non-error
parent
c9d66ec3e9
commit
4d0a7df486
|
@ -77,7 +77,7 @@
|
|||
*/
|
||||
var check = function (err) {
|
||||
i++;
|
||||
if (i === (isArray ? obj.length : ids.length) || err !== undefined) {
|
||||
if (i === (isArray ? obj.length : ids.length) || (err !== undefined && err !== null)) {
|
||||
finished(err);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue