Skip to content

Commit

Permalink
Update what message for G104 (#1282)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Jan 6, 2025
1 parent 534689b commit e0cca6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func NewNoErrorCheck(id string, conf gosec.Config) (gosec.Rule, []ast.Node) {
ID: id,
Severity: issue.Low,
Confidence: issue.High,
What: "Errors unhandled.",
What: "Errors unhandled",
},
whitelist: whitelist,
}, []ast.Node{(*ast.AssignStmt)(nil), (*ast.ExprStmt)(nil)}
Expand Down

0 comments on commit e0cca6f

Please sign in to comment.