From 888919004b205f213c4e119a879d9fd08833c2b1 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Mon, 6 Jan 2025 14:50:50 +0200 Subject: [PATCH] Update what message for G104 --- rules/errors.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/errors.go b/rules/errors.go index d31248ccb4..2786426557 100644 --- a/rules/errors.go +++ b/rules/errors.go @@ -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)}