Skip to content

Commit

Permalink
doc: update linter description
Browse files Browse the repository at this point in the history
  • Loading branch information
Crocmagnon committed Aug 26, 2024
1 parent 90afb8d commit 4410b65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/analyzer/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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},
}
Expand Down Expand Up @@ -70,7 +70,6 @@ func run(pass *analysis.Pass) (interface{}, error) {
Message: getReportMessage(node),
SuggestedFixes: fixes,
})

})

return nil, nil
Expand Down

0 comments on commit 4410b65

Please sign in to comment.