Skip to content

Commit

Permalink
remove unused param cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jarededwards committed Dec 3, 2024
1 parent 00881e6 commit cf13255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func getVersionCommand() *cobra.Command {
Use: "version",
Short: "print the version for dropkick cli",
Long: `print the version for dropkick cli`,
RunE: func(cmd *cobra.Command, args []string) error {
RunE: func(_ *cobra.Command, args []string) error {

Check failure on line 17 in cmd/version.go

View workflow job for this annotation

GitHub Actions / run-tests

unused-parameter: parameter 'args' seems to be unused, consider removing or renaming it as _ (revive)

log := logger.New(io.Writer(os.Stdout))

Expand Down

0 comments on commit cf13255

Please sign in to comment.