Skip to content

Commit e0cca6f

Browse files
authoredJan 6, 2025··
Update what message for G104 (#1282)
1 parent 534689b commit e0cca6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎rules/errors.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func NewNoErrorCheck(id string, conf gosec.Config) (gosec.Rule, []ast.Node) {
105105
ID: id,
106106
Severity: issue.Low,
107107
Confidence: issue.High,
108-
What: "Errors unhandled.",
108+
What: "Errors unhandled",
109109
},
110110
whitelist: whitelist,
111111
}, []ast.Node{(*ast.AssignStmt)(nil), (*ast.ExprStmt)(nil)}

0 commit comments

Comments
 (0)
Please sign in to comment.