diff --git a/index.js b/index.js index 12cd289..a291cf8 100644 --- a/index.js +++ b/index.js @@ -34,7 +34,7 @@ module.exports = { convertedSpecs = [], rootFiles = parse.getRootFiles(filesPathArray); - async.each(rootFiles, (rootFile, callback) => { + async.eachSeries(rootFiles, (rootFile, callback) => { loader // will merge all the files in the folder .loadSpec(rootFile, loaderOptions)