aisk/browsercookies

View on GitHub
firefox.go

Summary

Maintainability
A
45 mins
Test Coverage

Method FireFox.getCookiesFromFile has 7 return statements (exceeds 4 allowed).
Open

func (ff *FireFox) getCookiesFromFile(file string) ([]*http.Cookie, error) {
    tempfile, err := ioutil.TempFile("", "go-webcookies")
    if err != nil {
        return nil, err
    }
Severity: Major
Found in firefox.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status