mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-21 16:00:11 +00:00
style: remove unnecessary expression
This commit is contained in:
parent
55196c2766
commit
caca653666
2
dist/renderers/handlebars-generator.js
vendored
2
dist/renderers/handlebars-generator.js
vendored
@ -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) {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user