From 12ca1c4e7a87ee36e9ed516a878e3cb3a41db0e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 20 Nov 2017 19:58:56 -0500 Subject: [PATCH] closes #6093 --- src/controllers/composer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {