mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
Proper handling of error in mergeAndValidate when mergeFile fails.
This commit is contained in:
@@ -185,7 +185,7 @@ class SchemaPack {
|
||||
reason: 'Error while merging files.',
|
||||
error: err
|
||||
};
|
||||
return cb(null, validationResult);
|
||||
return cb(null, this.validationResult);
|
||||
});
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user