using eachSeries instead of each in async

This commit is contained in:
Dhroov7
2019-12-04 13:35:49 +05:30
parent 7e963b0ba2
commit 3df9ba4f0a

View File

@@ -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)