doc: update linter description
Some checks are pending
Go / build (1.22, macos-latest) (push) Waiting to run
Go / build (1.22, ubuntu-latest) (push) Waiting to run
Go / build (1.22, windows-latest) (push) Waiting to run
Go / build (1.23, macos-latest) (push) Waiting to run
Go / build (1.23, ubuntu-latest) (push) Waiting to run
Go / build (1.23, windows-latest) (push) Waiting to run
golangci-lint / lint (1.22) (push) Waiting to run
golangci-lint / lint (1.23) (push) Waiting to run

This commit is contained in:
Gabriel Augendre 2024-08-26 10:30:12 +02:00
parent 90afb8d3fa
commit 4410b65005
No known key found for this signature in database
GPG key ID: 0073D1CD7EC5A253

View file

@ -16,7 +16,7 @@ import (
var Analyzer = &analysis.Analyzer{
Name: "fatcontext",
Doc: "detects nested contexts in loops",
Doc: "detects nested contexts in loops and function literals",
Run: run,
Requires: []*analysis.Analyzer{inspect.Analyzer},
}
@ -70,7 +70,6 @@ func run(pass *analysis.Pass) (interface{}, error) {
Message: getReportMessage(node),
SuggestedFixes: fixes,
})
})
return nil, nil