feat: mimic some source 1 game events #757
Annotations
5 errors and 1 warning
pkg/demoinfocs/datatables.go#L152
[golangci-lint] reported by reviewdog 🐶
`if p.isSource2()` has complex nested blocks (complexity: 7) (nestif)
Raw Output:
pkg/demoinfocs/datatables.go:152:3: `if p.isSource2()` has complex nested blocks (complexity: 7) (nestif)
if p.isSource2() {
^
|
pkg/demoinfocs/datatables.go#L109
[golangci-lint] reported by reviewdog 🐶
`if val.BoolVal()` has complex nested blocks (complexity: 6) (nestif)
Raw Output:
pkg/demoinfocs/datatables.go:109:4: `if val.BoolVal()` has complex nested blocks (complexity: 6) (nestif)
if val.BoolVal() {
^
|
pkg/demoinfocs/datatables.go#L1141
[golangci-lint] reported by reviewdog 🐶
missing cases in switch of type events.RoundEndReason: events.RoundEndReasonStillInProgress, events.RoundEndReasonVIPEscaped, events.RoundEndReasonVIPKilled, events.RoundEndReasonVIPNotEscaped (exhaustive)
Raw Output:
pkg/demoinfocs/datatables.go:1141:5: missing cases in switch of type events.RoundEndReason: events.RoundEndReasonStillInProgress, events.RoundEndReasonVIPEscaped, events.RoundEndReasonVIPKilled, events.RoundEndReasonVIPNotEscaped (exhaustive)
switch reason {
^
|
pkg/demoinfocs/datatables.go#L1140
[golangci-lint] reported by reviewdog 🐶
ST1023: should omit type common.Team from declaration; it will be inferred from the right-hand side (stylecheck)
Raw Output:
pkg/demoinfocs/datatables.go:1140:16: ST1023: should omit type common.Team from declaration; it will be inferred from the right-hand side (stylecheck)
var winner common.Team = common.TeamUnassigned
^
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The logs for this run have expired and are no longer available.
Loading