feat(import): add progress bar for store import #1223
main.yaml
on: pull_request
Test Release Process
3m 56s
verification-with-cosign
0s
verification-with-slsa-verifier
0s
Annotations
10 errors
Lints:
cmd/store/import.go#L135
Error return value of `bar.Add` is not checked (errcheck)
|
Lints:
cmd/store/import.go#L142
Error return value of `bar.Finish` is not checked (errcheck)
|
Lints:
cmd/store/import.go#L40
calculated cyclomatic complexity for function importStore is 11, max is 10 (cyclop)
|
Lints:
cmd/store/import.go#L28
import 'github.com/schollz/progressbar/v3' is not allowed from list 'main' (depguard)
|
Lints:
cmd/store/import.go#L112
Magic number: 40, in <argument> detected (mnd)
|
Lints:
cmd/store/import.go#L138
Magic number: 10, in <argument> detected (mnd)
|
Lints:
cmd/store/import.go#L144
return with no blank line before (nlreturn)
|
Lints:
cmd/store/import.go#L123
variable name 'i' is too short for the scope of its usage (varnamelen)
|
Lints:
cmd/store/import.go#L196
error returned from external package is unwrapped: sig: func github.com/openfga/cli/internal/output.Display(data any) error (wrapcheck)
|
Lints:
cmd/store/import.go#L131
only one cuddle assignment allowed before if statement (wsl)
|