Skip to content

Commit

Permalink
🐛 Fix shell completion install bug
Browse files Browse the repository at this point in the history
  • Loading branch information
gabe565 committed May 6, 2022
1 parent ac27c1f commit a386301
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/flag_completion.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ func completion(cmd *cobra.Command, args []string) error {
if err := cmd.Root().GenPowerShellCompletionWithDesc(os.Stdout); err != nil {
return err
}
default:
return fmt.Errorf("%v: invalid shell", completionFlag)
}
return fmt.Errorf("%v: invalid shell", completionFlag)
return nil
}

0 comments on commit a386301

Please sign in to comment.