diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-26 23:44:53 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-01-29 02:14:51 -0700 |
commit | 0616a12019eb3220d437b02a30483720477f14a0 (patch) | |
tree | 6073f186d95a0068f53fe09473f467c78582bba0 /decode.go | |
parent | 690b0cbb2a220ef4179a0f9f34725328fb8c73f8 (diff) |
.golangci.yml: Turn on 'nakedret', fix
Diffstat (limited to 'decode.go')
-rw-r--r-- | decode.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -860,7 +860,7 @@ func DecodeObject(r io.RuneScanner, decodeKey, decodeVal func(io.RuneScanner) er dec.panicType(t.JSONType(), nil, fmt.Errorf("did not consume entire %s", t.JSONType())) } }) - return + return err } func (dec *Decoder) decodeObject(gTyp reflect.Type, decodeKey, decodeVal func()) { |