Skip to content

Commit f12b32a

Browse files
committed
ci: upgrade golangci-lint to v1.16.0
see golangci/golangci-lint#387
1 parent 70125d5 commit f12b32a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ before_script:
2727
- git fetch
2828

2929
# Install golangci-lint
30-
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.15.0
30+
- curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s -- -b $GOPATH/bin v1.16.0
3131

3232
# Download test data
3333
- pushd cs-demos && git lfs pull -I '*' && popd

parsing.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ const (
2525
// Parsing errors
2626
var (
2727
// ErrCancelled signals that parsing was cancelled via Parser.Cancel()
28-
ErrCancelled = errors.New("Parsing was cancelled before it finished (ErrCancelled)")
28+
ErrCancelled = errors.New("parsing was cancelled before it finished (ErrCancelled)")
2929

3030
// ErrUnexpectedEndOfDemo signals that the demo is incomplete / corrupt -
3131
// these demos may still be useful, check how far the parser got.
32-
ErrUnexpectedEndOfDemo = errors.New("Demo stream ended unexpectedly (ErrUnexpectedEndOfDemo)")
32+
ErrUnexpectedEndOfDemo = errors.New("demo stream ended unexpectedly (ErrUnexpectedEndOfDemo)")
3333

3434
// ErrInvalidFileType signals that the input isn't a valid CS:GO demo.
35-
ErrInvalidFileType = errors.New("Invalid File-Type; expecting HL2DEMO in the first 8 bytes")
35+
ErrInvalidFileType = errors.New("invalid File-Type; expecting HL2DEMO in the first 8 bytes (ErrInvalidFileType)")
3636
)
3737

3838
// ParseHeader attempts to parse the header of the demo and returns it.

0 commit comments

Comments
 (0)