diff --git a/hbs.js b/hbs.js index 50544a9..0203ff1 100644 --- a/hbs.js +++ b/hbs.js @@ -318,7 +318,7 @@ define([ } if(statement && statement.params){ - statement.params.forEach(function (param) { + _(statement.params).forEach(function (param) { checkStatementForHelpers(param, helpersres); }); } @@ -653,7 +653,7 @@ define([ onLayerEnd: function () { if (config.removeCombined && fs) { - filesToRemove.forEach(function (path) { + _(filesToRemove).forEach(function (path) { if (fs.existsSync(path)) { fs.unlinkSync(path); }