This repository has been archived by the owner on Mar 16, 2024. It is now read-only.
chore: add revive lint and fix related issues #6948
Annotations
1 error and 4 warnings
Run make validate-code
Process completed with exit code 2.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, buildjet/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run make validate-code:
pkg/local/server_linux.go#L7
blank-imports: a blank import should be only in a main or test package, or have a comment justifying it (revive)
|
Run make validate-code:
pkg/local/server_linux.go#L42
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (move short variable declaration to its own line if necessary) (revive)
|
Run make validate-code:
pkg/local/server_linux.go#L151
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
The logs for this run have expired and are no longer available.
Loading