Skip to content

Commit

Permalink
update go-sectorbuilder and golangci-lint (#3650)
Browse files Browse the repository at this point in the history
* update go-sectorbuilder and golangci-lint
* go mod tidy
* fix linting after version update
  • Loading branch information
frrist committed Nov 12, 2019
1 parent 84b4e42 commit cf934ac
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 107 deletions.
4 changes: 2 additions & 2 deletions cmd/go-filecoin/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ the filecoin block header.`,
for _, msg := range messages {
outStr += msg.String() + "\n"
}
_, err := fmt.Fprintf(w, outStr)
_, err := fmt.Fprint(w, outStr)
return err
}),
},
Expand Down Expand Up @@ -201,7 +201,7 @@ field of the filecoin block header.`,
for _, r := range receipts {
outStr += r.String() + "\n"
}
_, err := fmt.Fprintf(w, outStr)
_, err := fmt.Fprint(w, outStr)
return err
}),
},
Expand Down
8 changes: 1 addition & 7 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ require (
github.com/filecoin-project/go-leb128 v0.0.0-20190212224330-8d79a5489543
github.com/filecoin-project/go-sectorbuilder v0.0.0-20190801004428-e75bc9b0aaea
github.com/go-check/check v0.0.0-20190902080502-41f04d3bba15 // indirect
github.com/go-critic/go-critic v0.0.0-20181204210945-ee9bf5809ead // indirect
github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 // indirect
github.com/golang/mock v1.3.1 // indirect
github.com/golangci/golangci-lint v1.17.1
github.com/golangci/golangci-lint v1.21.0
github.com/google/go-cmp v0.3.1 // indirect
github.com/google/go-github v17.0.0+incompatible
github.com/google/go-querystring v1.0.0 // indirect
Expand Down Expand Up @@ -73,7 +71,6 @@ require (
github.com/libp2p/go-stream-muxer v0.0.1
github.com/libp2p/go-yamux v1.2.4 // indirect
github.com/magiconair/properties v1.8.1
github.com/mattn/go-colorable v0.1.4 // indirect
github.com/mattn/go-isatty v0.0.10 // indirect
github.com/minio/blake2b-simd v0.0.0-20160723061019-3f5f724cb5b1
github.com/mitchellh/go-homedir v1.1.0
Expand All @@ -98,9 +95,7 @@ require (
github.com/smartystreets/assertions v1.0.1 // indirect
github.com/spf13/afero v1.2.2 // indirect
github.com/spf13/jwalterweatherman v1.1.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.5.0 // indirect
github.com/stretchr/objx v0.2.0 // indirect
github.com/stretchr/testify v1.4.0
github.com/whyrusleeping/cbor-gen v0.0.0-20191001154818-b4b5288fcb86
github.com/whyrusleeping/go-logging v0.0.1
Expand All @@ -120,7 +115,6 @@ require (
google.golang.org/appengine v1.6.5 // indirect
google.golang.org/genproto v0.0.0-20191028173616-919d9bdd9fe6 // indirect
google.golang.org/grpc v1.24.0 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.2.5 // indirect
gotest.tools v2.2.0+incompatible
)
Expand Down

0 comments on commit cf934ac

Please sign in to comment.