Add decode subcommand that will decode the custom base64 encoding in 'stat' and 'byusergroup' files. #686
Annotations
7 errors and 1 warning
golangci-lint:
cmd/decode.go#L73
Function 'decodeFile' is too long (32 > 30) (funlen)
|
golangci-lint:
cmd/decode.go#L108
Function 'decodeColumn' has too many statements (24 > 20) (funlen)
|
golangci-lint:
cmd/decode.go#L95
ifElseChain: rewrite if-else to switch statement (gocritic)
|
golangci-lint:
cmd/decode.go#L125
shadow: declaration of "err" shadows declaration at line 115 (govet)
|
golangci-lint:
cmd/decode.go#L132
Magic number: 2, in <argument> detected (mnd)
|
golangci-lint:
main_test.go#L775
test helper function should start from t.Helper() (thelper)
|
golangci-lint
issues found
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading