apps/meteor/server/email/IMAPInterceptor.ts
Function imapFetch
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
imapFetch(emailIds: number[]): Promise<number[]> {
return new Promise((resolve, reject) => {
const out: number[] = [];
const messagecb = (msg: ImapMessage, seqno: number) => {
out.push(seqno);