Skip to content

Commit 6614f23

Browse files
Move default-email-templates/ to default-templates/emails
1 parent 6bb6f38 commit 6614f23

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/create-app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function initTemplates () {
110110
)
111111

112112
let emailTemplatesPath = ensureTemplateCopiedTo(
113-
'../default-email-templates',
113+
'../default-templates/emails',
114114
'../config/email-templates'
115115
)
116116

@@ -125,7 +125,7 @@ function initTemplates () {
125125
* default templates.
126126
*
127127
* @param defaultTemplateDir {string} Path to a default template directory,
128-
* relative to `lib/`. For example, '../default-email-templates' contains
128+
* relative to `lib/`. For example, '../default-templates/emails' contains
129129
* various email templates pre-defined by the Solid dev team.
130130
*
131131
* @param configTemplateDir {string} Path to a template directory customized

test/email-welcome.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const SolidHost = require('../lib/models/solid-host')
1212
const AccountManager = require('../lib/models/account-manager')
1313
const EmailService = require('../lib/models/email-service')
1414

15-
const templatePath = path.join(__dirname, '../default-email-templates')
15+
const templatePath = path.join(__dirname, '../default-templates/emails')
1616

1717
var host, accountManager, emailService
1818

test/unit/email-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const sinonChai = require('sinon-chai')
77
chai.use(sinonChai)
88
chai.should()
99

10-
const templatePath = path.join(__dirname, '../../default-email-templates')
10+
const templatePath = path.join(__dirname, '../../default-templates/emails')
1111

1212
describe('Email Service', function () {
1313
describe('EmailService constructor', () => {

0 commit comments

Comments
 (0)