File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ const (
2525// Parsing errors
2626var (
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.
You can’t perform that action at this time.
0 commit comments