chore: upgrade golangci-lint

This commit is contained in:
Oleg Lobanov committed 2021-07-26 12:00:05 +02:00
1 parent 201329abce
commit 34d7d2c8c4
17 files changed
+37 -45

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ You can also specify an optional parameter (index_end) so
you can remove all commands from 'index' to 'index_end',
including 'index_end'.`,
Args: func(cmd *cobra.Command, args []string) error {
if err := cobra.RangeArgs(1, 2)(cmd, args); err != nil {
if err := cobra.RangeArgs(1, 2)(cmd, args); err != nil { //nolint:gomnd
return err
}