aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/miscs/email.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/miscs/email.ts')
-rw-r--r--shared/extra-utils/miscs/email.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/extra-utils/miscs/email.ts b/shared/extra-utils/miscs/email.ts
index d6219deb3..15d298a73 100644
--- a/shared/extra-utils/miscs/email.ts
+++ b/shared/extra-utils/miscs/email.ts
@@ -37,11 +37,11 @@ class MockSmtpServer {
37 return rej(new Error('maildev exited unexpectedly, confirm port not in use')) 37 return rej(new Error('maildev exited unexpectedly, confirm port not in use'))
38 }) 38 })
39 this.emailChildProcess.on('message', (msg: any) => { 39 this.emailChildProcess.on('message', (msg: any) => {
40 if (msg.err) { 40 if (msg.err) return rej(new Error(msg.err))
41 return rej(new Error(msg.err)) 41
42 }
43 this.started = true 42 this.started = true
44 this.emails = emailsCollection 43 this.emails = emailsCollection
44
45 return res(port) 45 return res(port)
46 }) 46 })
47 }) 47 })