mirror of
https://github.com/securego/gosec.git
synced 2025-01-14 02:23:09 +02:00
Format file
This commit is contained in:
parent
f850069114
commit
4340efaa9a
@ -56,7 +56,8 @@ func getSSAResult(pass *analysis.Pass) (*SSAAnalyzerResult, error) {
|
||||
|
||||
// newIssue creates a new gosec issue
|
||||
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)
|
||||
line := file.Line(pos)
|
||||
col := file.Position(pos).Column
|
||||
|
Loading…
Reference in New Issue
Block a user