Skip to content

Commit

Permalink
Update applyEachSeries calls
Browse files Browse the repository at this point in the history
See async/pull/1640
  • Loading branch information
tomgreenfield committed Oct 10, 2019
1 parent b41f880 commit 148bbf6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/installHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ function installFramework(opts, callback) {
if(fs.existsSync(opts.directory) && !opts.force) {
return updateFramework(opts, callback);
}
async.applyEachSeries([cloneRepo, updateFramework], opts, callback);
async.applyEachSeries([ cloneRepo, updateFramework ], opts)(callback);
}

function updateFramework(opts, callback) {
Expand All @@ -456,7 +456,7 @@ function updateFramework(opts, callback) {
installDependencies,
purgeCourseFolder,
updateFrameworkPlugins
], opts, callback);
], opts)(callback);
}

function checkOptions(opts, action, callback) {
Expand Down

0 comments on commit 148bbf6

Please sign in to comment.