Format file

This commit is contained in:
Cosmin Cojocar 2023-02-15 21:54:06 +01:00 committed by Cosmin Cojocar
parent f850069114
commit 4340efaa9a

View file

@ -56,7 +56,8 @@ func getSSAResult(pass *analysis.Pass) (*SSAAnalyzerResult, error) {
// newIssue creates a new gosec issue // newIssue creates a new gosec issue
func newIssue(analyzerID string, desc string, fileSet *token.FileSet, func newIssue(analyzerID string, desc string, fileSet *token.FileSet,
pos token.Pos, severity, confidence issue.Score) *issue.Issue { pos token.Pos, severity, confidence issue.Score,
) *issue.Issue {
file := fileSet.File(pos) file := fileSet.File(pos)
line := file.Line(pos) line := file.Line(pos)
col := file.Position(pos).Column col := file.Position(pos).Column