1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-05 01:56:21 +00:00

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, { template = HANDLEBARS.compile(tpl, {
strict: false, strict: false,
assumeObjects: false, assumeObjects: false,
noEscape: data.opts.noescape || false noEscape: data.opts.noescape
}); });
return template(data); return template(data);
} catch (_error) { } catch (_error) {

View File

@ -30,7 +30,7 @@ HandlebarsGenerator = module.exports =
try try
# Compile and run the Handlebars template. # Compile and run the Handlebars template.
template = HANDLEBARS.compile tpl, template = HANDLEBARS.compile tpl,
strict: false, assumeObjects: false, noEscape: data.opts.noescape || false strict: false, assumeObjects: false, noEscape: data.opts.noescape
return template data return template data
catch catch
throw throw