dsibilly/cidr-js

View on GitHub

Showing 1 of 1 total issue

Function filter has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    async filter (ipArray) {
        if (!(ipArray instanceof Array) || ipArray.length <= 0) {
            throw new Error('filter(): An Array of positive, non-zero length is required');
        }
        
Severity: Minor
Found in src/CIDR.js - About 1 hr to fix
    Severity
    Category
    Status
    Source
    Language