From caca653666f24271a02f7db095998f34be6dd5da Mon Sep 17 00:00:00 2001 From: hacksalot Date: Sun, 4 Feb 2018 01:43:51 -0500 Subject: [PATCH] style: remove unnecessary expression --- dist/renderers/handlebars-generator.js | 2 +- src/renderers/handlebars-generator.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/renderers/handlebars-generator.js b/dist/renderers/handlebars-generator.js index 8955215..53df326 100644 --- a/dist/renderers/handlebars-generator.js +++ b/dist/renderers/handlebars-generator.js @@ -39,7 +39,7 @@ Definition of the HandlebarsGenerator class. template = HANDLEBARS.compile(tpl, { strict: false, assumeObjects: false, - noEscape: data.opts.noescape || false + noEscape: data.opts.noescape }); return template(data); } catch (_error) { diff --git a/src/renderers/handlebars-generator.coffee b/src/renderers/handlebars-generator.coffee index fa590fe..0041bb1 100644 --- a/src/renderers/handlebars-generator.coffee +++ b/src/renderers/handlebars-generator.coffee @@ -30,7 +30,7 @@ HandlebarsGenerator = module.exports = try # Compile and run the Handlebars template. template = HANDLEBARS.compile tpl, - strict: false, assumeObjects: false, noEscape: data.opts.noescape || false + strict: false, assumeObjects: false, noEscape: data.opts.noescape return template data catch throw