kirbysayshi/vash

Add Support For Express Multiple Views Paths

Closed this issue · 0 comments

Information on this change to Express can be seen here:
https://github.com/strongloop/express/releases/tag/4.10.0

Express, since v4.10.0, now supports multiple views locations.

Attempting to make use of this feature in vash causes the following error to occur:

Path must be a string. Received [ 'C:\\path\\to\\views\\1', 'C:\\path\\to\\views\\2' ]

File: layout.js
Line: 51

    if( filepath.indexOf( path.normalize( options.settings.views ) ) === -1 ){