Fix file formatting

This commit is contained in:
Cosmin Cojocar 2023-02-15 21:25:59 +01:00 committed by Cosmin Cojocar
parent 2071786199
commit b1fd94881e

View file

@ -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)
} }