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