Skip to content

Commit 8753950

Browse files
committed
hotfix(cli): Fixing incorrect early termination of async.each, also turned it into an async.eachSeries
1 parent 100b1d1 commit 8753950

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

bin/clever-setup

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,9 @@ async.waterfall(
7979
},
8080

8181
function each( projects, finalCallback ) {
82-
async.each(
82+
async.eachSeries(
8383
projects,
84-
function setupSeed( seed, callback ) {
84+
function setupSeed( seed, cb ) {
8585
var _path = seed.moduleDir;
8686

8787
async.waterfall(
@@ -214,7 +214,7 @@ async.waterfall(
214214
}
215215

216216
],
217-
finalCallback
217+
cb
218218
);
219219
},
220220
finalCallback

0 commit comments

Comments
 (0)