RocketChat/Rocket.Chat

View on GitHub
apps/meteor/server/email/IMAPInterceptor.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function imapFetch has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    imapFetch(emailIds: number[]): Promise<number[]> {
        return new Promise((resolve, reject) => {
            const out: number[] = [];
            const messagecb = (msg: ImapMessage, seqno: number) => {
                out.push(seqno);
Severity: Minor
Found in apps/meteor/server/email/IMAPInterceptor.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status