fix cached templates exporting

This commit is contained in:
Sebastian McKenzie
2014-11-09 16:40:37 +11:00
parent 4bae820a5a
commit 98df094e60

View File

@@ -262,7 +262,7 @@ var loadTemplates = function () {
};
try {
return require("../../templates.json");
exports.templates = require("../../templates.json");
} catch (err) {
if (err.code !== "MODULE_NOT_FOUND") throw err;