fix cached templates exporting
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user