From 148bbf602d50d14b78c90d30c5e11d4b646201df Mon Sep 17 00:00:00 2001 From: Tom Greenfield Date: Thu, 10 Oct 2019 11:18:49 +0100 Subject: [PATCH] Update applyEachSeries calls See async/pull/1640 --- lib/installHelpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/installHelpers.js b/lib/installHelpers.js index 9264310dc1..93fb53399c 100644 --- a/lib/installHelpers.js +++ b/lib/installHelpers.js @@ -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) { @@ -456,7 +456,7 @@ function updateFramework(opts, callback) { installDependencies, purgeCourseFolder, updateFrameworkPlugins - ], opts, callback); + ], opts)(callback); } function checkOptions(opts, action, callback) {