debug view engine paths
This commit is contained in:
parent
642319ef1f
commit
c8d9f80579
@ -180,6 +180,7 @@ export default class ViewEngine extends LifecycleUnit {
|
|||||||
const partials_dir: unknown = this.config.get('app.views.partials_dir')
|
const partials_dir: unknown = this.config.get('app.views.partials_dir')
|
||||||
if ( String(partials_dir) ) {
|
if ( String(partials_dir) ) {
|
||||||
const partials_path = this.template_path(String(partials_dir))
|
const partials_path = this.template_path(String(partials_dir))
|
||||||
|
console.log({ partials_path, partials_dir })
|
||||||
this.logger.info(`Registering Handlebars partials from: ${partials_path}`)
|
this.logger.info(`Registering Handlebars partials from: ${partials_path}`)
|
||||||
|
|
||||||
for await ( const entry of fs.walk(partials_path) ) {
|
for await ( const entry of fs.walk(partials_path) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user