workaround for userid
in player_connect
#1157
Annotations
2 errors and 2 warnings
ci:
pkg/demoinfocs/game_events.go#L665
[golangci-lint] reported by reviewdog 🐶
if statements should only be cuddled with assignments used in the if statement itself (wsl)
Raw Output:
pkg/demoinfocs/game_events.go:665:3: if statements should only be cuddled with assignments used in the if statement itself (wsl)
if !pl.IsFakePlayer && !pl.IsHltv && pl.XUID > 0 && pl.UserID <= math.MaxUint8 {
^
|
ci
Process completed with exit code 1.
|
ci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v2, actions/checkout@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
ci
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/
|