RocketChat/Rocket.Chat

View on GitHub
apps/meteor/app/irc/server/irc-bridge/localHandlers/onLogin.js

Summary

Maintainability
A
1 hr
Test Coverage

Function handleOnLogin has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default async function handleOnLogin(login) {
    if (login.user === null) {
        return this.log('Invalid handleOnLogin call');
    }
    if (!login.user.username) {
Severity: Minor
Found in apps/meteor/app/irc/server/irc-bridge/localHandlers/onLogin.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status