appease the compiler

This commit is contained in:
Herr Ritschwumm 2021-06-26 10:37:36 +02:00 committed by Zack Schuster
parent 1d488a49ab
commit 512dbac584
1 changed files with 2 additions and 2 deletions

View File

@ -762,8 +762,8 @@ export class SMTPConnection extends EventEmitter {
const preferred = this.authentication;
let auth = '';
if (typeof this.features?.auth === 'string') {
auth = this.features.auth;
if (typeof this.features?.['auth'] === 'string') {
auth = this.features['auth'];
}
for (let i = 0; i < preferred.length; i++) {