mirror of
https://github.com/wader/fq.git
synced 2024-11-23 09:56:07 +03:00
Merge pull request #350 from wader/bump-github-golangci-lint-1.47.3
Update github-golangci-lint from 1.47.2 to 1.47.3
This commit is contained in:
commit
888a471245
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -7,7 +7,7 @@ on:
|
||||
pull_request:
|
||||
|
||||
env:
|
||||
GOLANGCILINT_VERSION: 1.47.2
|
||||
GOLANGCILINT_VERSION: 1.47.3
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
|
@ -82,7 +82,7 @@ func FuzzFormats(f *testing.F) {
|
||||
return nil
|
||||
}
|
||||
if st, err := os.Stat(path); err != nil || st.IsDir() {
|
||||
return nil
|
||||
return err
|
||||
}
|
||||
|
||||
b, readErr := ioutil.ReadFile(path)
|
||||
|
@ -258,6 +258,7 @@ func (i *Interp) _decode(c any, format string, opts decodeOpts) any {
|
||||
if len(opts.Remain) > 0 {
|
||||
if err := mapstruct.ToStruct(opts.Remain, &inArg); err != nil {
|
||||
// TODO: currently ignores failed struct mappings
|
||||
//nolint: nilerr
|
||||
return f.DecodeInArg, nil
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user