Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Engine.js fails with subdirectory in views dir #3
I noticed when I was organizing some views in engine.js kept failing when trying to call a readFile on it. So I added some code to check for a directory and if so runs the callback with an empty content.
I'm not too sure if this solution is completely best since I don't know the inner workings of the framework but everything seems to be working again on my side.
Give it a look and let me know what you think.