In index.js
, line 92 loads the default partials as follows:
registerPartials(path.resolve(__dirname, './partials/**/*.hbs'))
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.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4