mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
added tests for function readSpecFile
This commit is contained in:
12
index.js
12
index.js
@@ -83,13 +83,11 @@ module.exports = {
|
||||
output: convertedCollections
|
||||
});
|
||||
}
|
||||
// eslint-disable-next-line no-else-return
|
||||
else {
|
||||
return cb(null, {
|
||||
result: false,
|
||||
reason: reasonForFail
|
||||
});
|
||||
}
|
||||
|
||||
return cb(null, {
|
||||
result: false,
|
||||
reason: reasonForFail
|
||||
});
|
||||
});
|
||||
}
|
||||
// eslint-disable-next-line no-else-return
|
||||
|
||||
Reference in New Issue
Block a user