NodeBB/NodeBB

View on GitHub
src/socket.io/helpers.js

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

    if (!data || !data.post || !data.post.uid || !data.post.votes || !data.post.pid || !data.fromuid) {
        return;
    }
Severity: Major
Found in src/socket.io/helpers.js - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status