Enable dupword linter & fix findings (#12271)

* Enable dupword linter & fix findings

* Correct an incorrect fix

* Add nolint comment

* Add another nolint comment

* Revert unintended change to bazel version

---------

Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
This commit is contained in:
Justin Traglia
2023-04-18 17:01:27 -05:00
committed by GitHub
parent b6181f8d1a
commit 4c916403e9
34 changed files with 43 additions and 33 deletions

View File

@@ -34,7 +34,7 @@ func WrapFlags(flags []cli.Flag) []cli.Flag {
f = altsrc.NewPathFlag(t)
case *cli.Int64Flag:
// Int64Flag does not work. See https://github.com/prysmaticlabs/prysm/issues/6478
panic(fmt.Sprintf("unsupported flag type type %T", f))
panic(fmt.Sprintf("unsupported flag type %T", f))
case *cli.IntSliceFlag:
f = altsrc.NewIntSliceFlag(t)
default: