-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from JaylanChen/bug-fix-#244
bug fix #244
- Loading branch information
Showing
2 changed files
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For services only using layoutsDir, setting partialsDir to undefined totally breaks handlebars. The throw is on line 71 below.
Line 54, partialsDirs === [undefined], then typeof dir === 'undefined', then dirPath is undefined...
Line 51 could be: if (! this.partialsDir) return;