Skip to content

Commit

Permalink
style(commands): combine var declaration into a single line
Browse files Browse the repository at this point in the history
  • Loading branch information
nullswan committed Sep 12, 2024
1 parent c34a462 commit 5fb2f02
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/commands/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ import (
"github.com/spf13/cobra"
)

var (
apiKey string
)
var apiKey string

// rootCmd represents the base command when called without any subcommands
var rootCmd = &cobra.Command{
Expand Down

0 comments on commit 5fb2f02

Please sign in to comment.