style: remove unnecessary expression

This commit is contained in:
hacksalot 2018-02-04 01:43:51 -05:00
parent 55196c2766
commit caca653666
No known key found for this signature in database
GPG Key ID: 2F343EC247CA4B06
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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