smtp/client: remove unnecessary callback invocation

This commit is contained in:
Zack Schuster 2020-11-24 17:41:13 -08:00
parent d1fca9efe3
commit b3935e759e
1 changed files with 0 additions and 3 deletions

View File

@ -63,9 +63,6 @@ export class SMTPClient {
}
this.queue.push(stack);
this._poll();
if (this.queue.every((x) => x !== stack)) {
callback(null, message);
}
} else {
callback(new Error(why), msg);
}