mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
Used getter instead of looking up internal property
no-issue Since express-hbs@1.10 we have a method to get the template options, which should be used rather than reading internal "private" properties
This commit is contained in:
parent
c461c66b38
commit
d0c1853797
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ class ActiveTheme {
|
|||
}
|
||||
|
||||
updateTemplateOptions(options) {
|
||||
engine._options.templateOptions = _.merge(engine._options.templateOptions, options);
|
||||
engine.updateTemplateOptions(_.merge({}, engine.getTemplateOptions(), options));
|
||||
}
|
||||
|
||||
config(key) {
|
||||
|
|
Loading…
Add table
Reference in a new issue