fix: rootKey empty check by len equals 0 (backport: #801) #1797
Annotations
1 error and 10 warnings
|
keyformat/key_format.go#L122
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)
|
internal/rand/random.go#L100
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
benchmarks/bench_test.go#L359
superfluous-else: if block ends with a continue statement, so drop this else and outdent its block (revive)
|
benchmarks/bench_test.go#L211
redefines-builtin-id: redefinition of the built-in function real (revive)
|
export.go#L93
empty-block: this block is empty, you can remove it (revive)
|
mutable_tree.go#L1023
if-return: redundant if ...; err != nil check, just return error instead. (revive)
|
mutable_tree_test.go#L86
empty-block: this block is empty, you can remove it (revive)
|
testutils_test.go#L98
unused-parameter: parameter 'value' seems to be unused, consider removing or renaming it as _ (revive)
|
mutable_tree_test.go#L109
empty-block: this block is empty, you can remove it (revive)
|
import_test.go#L14
empty-block: this block is empty, you can remove it (revive)
|
The logs for this run have expired and are no longer available.
Loading