mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +00:00
Format file
This commit is contained in:
parent
f850069114
commit
4340efaa9a
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue