diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-17 10:55:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-17 11:42:50 +0200 |
commit | faa9d434b4d681837ff2a87603337c2623419669 (patch) | |
tree | 1f3c798dd6fd5f2dcbb019978f063f448c019974 /shared/extra-utils | |
parent | 982f2fc9b42537ca40ff29bf62c1ca3692d4b587 (diff) | |
download | PeerTube-faa9d434b4d681837ff2a87603337c2623419669.tar.gz PeerTube-faa9d434b4d681837ff2a87603337c2623419669.tar.zst PeerTube-faa9d434b4d681837ff2a87603337c2623419669.zip |
Update server dependencies
Diffstat (limited to 'shared/extra-utils')
-rw-r--r-- | shared/extra-utils/miscs/email.ts | 6 |
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 | }) |