mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-05 09:56:22 +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, {
|
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) {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user