mirror of
https://github.com/securego/gosec.git
synced 2024-12-26 20:53:56 +02:00
Fix file formatting
This commit is contained in:
parent
2071786199
commit
b1fd94881e
@ -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 New Issue
Block a user