Skip to content

Commit 148bbf6

Browse files
committed
Update applyEachSeries calls
See async/pull/1640
1 parent b41f880 commit 148bbf6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/installHelpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ function installFramework(opts, callback) {
444444
if(fs.existsSync(opts.directory) && !opts.force) {
445445
return updateFramework(opts, callback);
446446
}
447-
async.applyEachSeries([cloneRepo, updateFramework], opts, callback);
447+
async.applyEachSeries([ cloneRepo, updateFramework ], opts)(callback);
448448
}
449449

450450
function updateFramework(opts, callback) {
@@ -456,7 +456,7 @@ function updateFramework(opts, callback) {
456456
installDependencies,
457457
purgeCourseFolder,
458458
updateFrameworkPlugins
459-
], opts, callback);
459+
], opts)(callback);
460460
}
461461

462462
function checkOptions(opts, action, callback) {

0 commit comments

Comments
 (0)