diff --git a/src/inc/HandlebarsAST.js b/src/inc/HandlebarsAST.js index a3f483a..5014641 100644 --- a/src/inc/HandlebarsAST.js +++ b/src/inc/HandlebarsAST.js @@ -147,7 +147,6 @@ module.exports.getV4Paths = node => { } if (node.path && node.path.original === "filter") { - var d = true; // look for used properties in equation [node.params[1], node.params[node.params.length === 4 ? 3 : 2]].forEach( possiblePropertyNode => { @@ -249,6 +248,7 @@ module.exports.getTemplatePaths = node => { } if (debug) { + // eslint-disable-next-line no-console console.log(uniq(paths)); } return uniq(paths); diff --git a/src/index.js b/src/index.js index 22a5702..eb4f3b8 100755 --- a/src/index.js +++ b/src/index.js @@ -246,8 +246,4 @@ module.exports = function exports(config) { this.setSerializers = serializers => { Object.assign(entitySerializers, serializers); }; - - this.setDebug = function setDebug(enable) { - debug = enable; - }; };