You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The glob path gests unfolded usign FileSet which in turns uses glob.
The problem is that, if __dirname contains special glob characters (e.g. [ ] like in my case), FileSet will fail listing all the .hbs files and no partial will be registered.
Bottomline is: __dirname should be escaped.
The text was updated successfully, but these errors were encountered:
In
index.js
, line 92 loads the default partials as follows:The glob path gests unfolded usign
FileSet
which in turns usesglob
.The problem is that, if
__dirname
contains special glob characters (e.g.[ ]
like in my case),FileSet
will fail listing all the .hbs files and no partial will be registered.Bottomline is:
__dirname
should be escaped.The text was updated successfully, but these errors were encountered: