refactor(init-cli): Refactor the Init CLI command to be callable from runtime #14500
- test-e2e requires an approval to start deploying changes
- test-e2e requires an approval to start deploying changes
Annotations
9 errors
lint:
cli/commands/initialize/initialize.go#L96
cognitive complexity 24 of func `InitCmd` is high (> 20) (gocognit)
|
lint:
cli/commands/initialize/initialize.go#L121
Magic number: 6, in <argument> detected (mnd)
|
lint
Process completed with exit code 2.
|
gosec
The job was canceled because "lint_ubuntu-24_04-beacon-" failed.
|
gosec
The operation was canceled.
|
test-unit-bench
The job was canceled because "lint_ubuntu-24_04-beacon-" failed.
|
test-unit-bench
The operation was canceled.
|
test-unit-cover
The job was canceled because "lint_ubuntu-24_04-beacon-" failed.
|
test-unit-cover
The operation was canceled.
|