mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 11:35:52 +00:00
Fix file formatting
This commit is contained in:
parent
2071786199
commit
b1fd94881e
1 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,8 @@ func (ctx *Context) GetFileAtNodePos(node ast.Node) *token.File {
|
|||
|
||||
// NewIssue creates a new issue
|
||||
func (ctx *Context) NewIssue(node ast.Node, ruleID, desc string,
|
||||
severity, confidence issue.Score) *issue.Issue {
|
||||
severity, confidence issue.Score,
|
||||
) *issue.Issue {
|
||||
return issue.New(ctx.GetFileAtNodePos(node), node, ruleID, desc, severity, confidence)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue