fix templates location
This commit is contained in:
parent
91fb64eaf5
commit
0a9f43aac8
@ -267,7 +267,7 @@ function loadTemplates(): Object {
|
||||
}
|
||||
|
||||
try {
|
||||
exports.templates = require("../../templates.json");
|
||||
exports.templates = require("../templates.json");
|
||||
} catch (err) {
|
||||
if (err.code !== "MODULE_NOT_FOUND") throw err;
|
||||
exports.templates = loadTemplates();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user