s0rg/crawley

View on GitHub

Showing 1 of 1 total issue

Function canCrawl has 6 return statements (exceeds 4 allowed).
Open

func canCrawl(a, b *url.URL, d int, subdomains bool) (yes bool) {
    if a.Host != b.Host {
        if !subdomains {
            return false
        }
Severity: Major
Found in internal/crawler/util.go - About 40 mins to fix
    Severity
    Category
    Status
    Source
    Language