Skip to content

Commit 43fbbf7

Browse files
gssbznSeigeC
authored andcommitted
fix: fix typo for errchkjson (golangci#2842)
1 parent b3ef479 commit 43fbbf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/golinters/errchkjson.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ func NewErrChkJSONFuncName(cfg *config.ErrChkJSONSettings) *goanalysis.Linter {
2525
return goanalysis.NewLinter(
2626
"errchkjson",
2727
"Checks types passed to the json encoding functions. "+
28-
"Reports unsupported types and optionally reports occations, "+
28+
"Reports unsupported types and optionally reports occasions, "+
2929
"where the check for the returned error can be omitted.",
3030
[]*analysis.Analyzer{a},
3131
cfgMap,

0 commit comments

Comments
 (0)