diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/__ngcc_entry_points__.json | 1 | ||||
-rw-r--r-- | shared/extra-utils/miscs/email.ts | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/shared/__ngcc_entry_points__.json b/shared/__ngcc_entry_points__.json new file mode 100644 index 000000000..179bdcda3 --- /dev/null +++ b/shared/__ngcc_entry_points__.json | |||
@@ -0,0 +1 @@ | |||
{"ngccVersion":"9.1.0","configFileHash":"87c535c3ce0eac2a54c246892e0e21a1","lockFileHash":"d04bf20520f2518af162e882d32081e4","entryPointPaths":[]} \ No newline at end of file | |||
diff --git a/shared/extra-utils/miscs/email.ts b/shared/extra-utils/miscs/email.ts index b2a1093da..d6219deb3 100644 --- a/shared/extra-utils/miscs/email.ts +++ b/shared/extra-utils/miscs/email.ts | |||
@@ -12,7 +12,7 @@ class MockSmtpServer { | |||
12 | private constructor () { | 12 | private constructor () { |
13 | this.emailChildProcess = fork(`${__dirname}/email-child-process`, []) | 13 | this.emailChildProcess = fork(`${__dirname}/email-child-process`, []) |
14 | 14 | ||
15 | this.emailChildProcess.on('message', (msg) => { | 15 | this.emailChildProcess.on('message', (msg: any) => { |
16 | if (msg.email) { | 16 | if (msg.email) { |
17 | return this.emails.push(msg.email) | 17 | return this.emails.push(msg.email) |
18 | } | 18 | } |
@@ -36,7 +36,7 @@ class MockSmtpServer { | |||
36 | this.emailChildProcess.on('exit', () => { | 36 | this.emailChildProcess.on('exit', () => { |
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) => { | 39 | this.emailChildProcess.on('message', (msg: any) => { |
40 | if (msg.err) { | 40 | if (msg.err) { |
41 | return rej(new Error(msg.err)) | 41 | return rej(new Error(msg.err)) |
42 | } | 42 | } |