From 59971a13f4951c35e08ac05bbb51eecd0e9a3c45 Mon Sep 17 00:00:00 2001 From: Gustavo Bazan Date: Tue, 10 May 2022 21:47:59 +0100 Subject: [PATCH] fix: fix typo for errchkjson (#2842) --- pkg/golinters/errchkjson.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/golinters/errchkjson.go b/pkg/golinters/errchkjson.go index 6dc2b200..6cc2208a 100644 --- a/pkg/golinters/errchkjson.go +++ b/pkg/golinters/errchkjson.go @@ -25,7 +25,7 @@ func NewErrChkJSONFuncName(cfg *config.ErrChkJSONSettings) *goanalysis.Linter { return goanalysis.NewLinter( "errchkjson", "Checks types passed to the json encoding functions. "+ - "Reports unsupported types and optionally reports occations, "+ + "Reports unsupported types and optionally reports occasions, "+ "where the check for the returned error can be omitted.", []*analysis.Analyzer{a}, cfgMap,