|
|
@ -86,7 +86,7 @@
|
|
|
|
if (customTemplateDir) {
|
|
|
|
if (customTemplateDir) {
|
|
|
|
fs.exists(customTemplateDir, function (exists) {
|
|
|
|
fs.exists(customTemplateDir, function (exists) {
|
|
|
|
var directory = (exists ? customTemplateDir : __dirname + '/../templates');
|
|
|
|
var directory = (exists ? customTemplateDir : __dirname + '/../templates');
|
|
|
|
getTemplates(customTemplateDir);
|
|
|
|
getTemplates(directory);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
getTemplates(__dirname + '/../templates');
|
|
|
|
getTemplates(__dirname + '/../templates');
|
|
|
|