Skip to content

Merge pull request #29 from hueristiq/dev #2

Merge pull request #29 from hueristiq/dev

Merge pull request #29 from hueristiq/dev #2

Triggered via push October 20, 2024 16:42
Status Failure
Total duration 47s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

9 errors
Lint: pkg/xsubfind3r/sources/securitytrails/securitytrails.go#L86
response body must be closed (bodyclose)
Lint: pkg/xsubfind3r/sources/securitytrails/securitytrails.go#L90
response body must be closed (bodyclose)
Lint: pkg/xsubfind3r/sources/securitytrails/securitytrails.go#L96
response body must be closed (bodyclose)
Lint: pkg/httpclient/client.go#L34
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unexpected status code %d received from %s\", res.StatusCode, requestURL)" (err113)
Lint: pkg/xsubfind3r/sources/builtwith/builtwith.go#L88
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%s\", entry.Message)" (err113)
Lint: pkg/xsubfind3r/sources/commoncrawl/commoncrawl.go#L183
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%s\", getURLsResData.Error)" (err113)
Lint: pkg/xsubfind3r/sources/otx/otx.go#L67
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"%s, %s\", getPassiveDNSResData.Detail, getPassiveDNSResData.Error)" (err113)
Lint: pkg/httpclient/client.go#L46
error returned from external package is unwrapped: sig: func github.com/hueristiq/hq-go-http.NewRequest(method string, url string, body interface{}) (req *github.com/hueristiq/hq-go-http.Request, err error) (wrapcheck)
Lint
issues found