mirror of
https://github.com/postmanlabs/openapi-to-postman.git
synced 2022-11-29 22:05:00 +03:00
using eachSeries instead of each in async
This commit is contained in:
2
index.js
2
index.js
@@ -34,7 +34,7 @@ module.exports = {
|
|||||||
convertedSpecs = [],
|
convertedSpecs = [],
|
||||||
rootFiles = parse.getRootFiles(filesPathArray);
|
rootFiles = parse.getRootFiles(filesPathArray);
|
||||||
|
|
||||||
async.each(rootFiles, (rootFile, callback) => {
|
async.eachSeries(rootFiles, (rootFile, callback) => {
|
||||||
loader
|
loader
|
||||||
// will merge all the files in the folder
|
// will merge all the files in the folder
|
||||||
.loadSpec(rootFile, loaderOptions)
|
.loadSpec(rootFile, loaderOptions)
|
||||||
|
|||||||
Reference in New Issue
Block a user