Skip to content

Commit

Permalink
fix checkNewVersion
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani committed Nov 20, 2024
1 parent c8db66a commit 9cba577
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ func NewRootCmd() *cobra.Command {
SilenceUsage: true,
SilenceErrors: true,
PersistentPreRunE: func(cmd *cobra.Command, _ []string) error {
if cmd.Use != "completion" && cmd.Use != "explorer" {
if cmd.Use != "completion" && cmd.Use != "version" {
checkNewVersion(cmd.Context())
}

Expand Down

0 comments on commit 9cba577

Please sign in to comment.