This commit is contained in:
psychobunny
2014-04-30 16:00:06 -04:00
parent 4961becd1d
commit 8fa3baf32d

View File

@@ -62,7 +62,7 @@
if (!templates.cache[tpl]) {
fs.readFile(filename, function(err, html) {
templates.cache[tpl] = html.toString();
templates.cache[tpl] = (html || '').toString();
return fn(err, templates.parse(templates.cache[tpl], options));
});
} else {