prysm-pulse/tools/analyzers/ineffassign
Preston Van Loon d4e6ce6998
Fix deepsource findings (#7457)
* remove unused code

* Incomplete condition fix

* club append to single call

* anti-pattern fix 'should use for range instead of for { select {} }'

* use strings.ReplaceAll

* replace `len(parts[0]) == 0` with `parts[0] == ""`

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-08 08:36:47 +00:00
..
testdata Add new static analyzer: ineffassign (#7413) 2020-10-02 23:56:18 +03:00
analyzer_test.go Add new static analyzer: ineffassign (#7413) 2020-10-02 23:56:18 +03:00
analyzer.go Add new static analyzer: ineffassign (#7413) 2020-10-02 23:56:18 +03:00
BUILD.bazel Add new static analyzer: ineffassign (#7413) 2020-10-02 23:56:18 +03:00
ineffassign.go Fix deepsource findings (#7457) 2020-10-08 08:36:47 +00:00