Proper handling of error in mergeAndValidate when mergeFile fails.

This commit is contained in:
umeshp7
2020-02-17 16:45:53 +05:30
parent fd6cea9bef
commit f047d13a87

View File

@@ -185,7 +185,7 @@ class SchemaPack {
reason: 'Error while merging files.',
error: err
};
return cb(null, validationResult);
return cb(null, this.validationResult);
});
}
else {