Use .js instead of .jst

Fix #5934
This commit is contained in:
Peter Jaszkowiak
2017-09-23 12:51:20 -06:00
parent f989988178
commit dc87d7fc0f
8 changed files with 12 additions and 12 deletions

View File

@@ -35,9 +35,9 @@ function renderEmail(req, res, next) {
file.walk(emailsPath, next);
},
function (emails, next) {
// exclude .jst files
// exclude .js files
emails = emails.filter(function (email) {
return !email.endsWith('.jst');
return !email.endsWith('.js');
});
async.map(emails, function (email, next) {