Skip to content

rm redundant code

rm redundant code #625

Triggered via pull request June 20, 2023 09:11
Status Success
Total duration 1m 59s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
lint: x/restricting/restricting_db_key.go#L17
File is not `gofmt`-ed with `-s` (gofmt)
lint: x/restricting/restricting_err.go#L17
File is not `gofmt`-ed with `-s` (gofmt)
lint: x/restricting/restricting_types.go#L17
File is not `gofmt`-ed with `-s` (gofmt)
lint: trie/database.go#L775
Function 'Cap' has too many statements (47 > 40) (funlen)
lint: trie/database.go#L879
Function 'Commit' is too long (66 > 60) (funlen)
lint: trie/proof.go#L142
Function 'proofToPath' has too many statements (44 > 40) (funlen)
lint: trie/proof.go#L224
Function 'unsetInternal' is too long (113 > 60) (funlen)
lint: trie/proof.go#L476
Function 'VerifyRangeProof' has too many statements (52 > 40) (funlen)
lint: trie/stacktrie.go#L229
Function 'insert' has too many statements (56 > 40) (funlen)
lint: trie/stacktrie.go#L376
Function 'hash' has too many statements (61 > 40) (funlen)
lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']