diff --git a/src/controllers/composer.js b/src/controllers/composer.js index c0b0da2236..3bc95fae4a 100644 --- a/src/controllers/composer.js +++ b/src/controllers/composer.js @@ -10,13 +10,13 @@ var helpers = require('./helpers'); exports.get = function (req, res, next) { async.waterfall([ - function (next) { + function (_next) { plugins.fireHook('filter:composer.build', { req: req, res: res, next: next, templateData: {}, - }, next); + }, _next); }, function (data) { if (data.templateData.disabled) {