chore: refactory code & make 2.0 version ready #884
Annotations
11 errors and 2 warnings
lint
Process completed with exit code 1.
|
lint:
functions/score/score.go#L56
Error return value of `coins.UpdateUserSignInValue` is not checked (errcheck)
|
lint:
functions/mai/alias.go#L28
Error return value of `json.Unmarshal` is not checked (errcheck)
|
lint:
functions/mai/alias.go#L86
Error return value of `os.WriteFile` is not checked (errcheck)
|
lint:
functions/mai/handler.go#L148
Error return value of `maiDatabase.FindFor` is not checked (errcheck)
|
lint:
functions/mai/lxns_handler.go#L187
Error return value of `json.Unmarshal` is not checked (errcheck)
|
lint:
functions/mai/lxns_handler.go#L200
Error return value of `json.Unmarshal` is not checked (errcheck)
|
lint:
functions/mai/main.go#L255
Error return value of `(*github.com/MoYoez/Lucy-QOnebot/functions/mai.UserIDToToken).BindUserToken` is not checked (errcheck)
|
lint:
functions/mai/main.go#L345
Error return value is not checked (errcheck)
|
lint:
functions/mai/main.go#L361
Error return value is not checked (errcheck)
|
lint:
functions/mai/sql.go#L49
Error return value is not checked (errcheck)
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/Lucy-QOnebot/Lucy-QOnebot. Supported file pattern: go.sum
|