mirror of
https://github.com/securego/gosec.git
synced 2024-11-05 19:45:51 +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
|
// NewIssue creates a new issue
|
||||||
func (ctx *Context) NewIssue(node ast.Node, ruleID, desc string,
|
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)
|
return issue.New(ctx.GetFileAtNodePos(node), node, ruleID, desc, severity, confidence)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue