RocketChat/Rocket.Chat

View on GitHub
apps/meteor/server/services/startup.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function registerServices has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const registerServices = async (): Promise<void> => {
    const { db } = MongoInternals.defaultRemoteCollectionDriver().mongo;

    api.registerService(new AppsEngineService());
    api.registerService(new AnalyticsService());
Severity: Minor
Found in apps/meteor/server/services/startup.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status