Skip to content

Commit

Permalink
PCHR-4049: Fix tasks maps
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpavlov committed Aug 1, 2018
1 parent f237c6d commit 01725f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions uk.co.compucorp.civicrm.hrcore/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@ gulp.task('build', gulp.series(builderPromises));
*/
function buildTaskPromises (taskNames) {
return taskNames.map(function (taskName) {
return function () {
return utils.spawnTaskForExtension(taskName, tasks[taskName]);
};
return utils.spawnTaskForExtension(taskName, tasks[taskName]);
});
}

Expand Down

0 comments on commit 01725f9

Please sign in to comment.