forked from LaconicNetwork/kompose
Merge pull request #682 from surajnarwade/sanity_check_fix
Remove empty if branch
This commit is contained in:
commit
52b11e505a
@ -45,8 +45,6 @@ func Generate(cmd *cobra.Command, args []string) error {
|
||||
return fmt.Errorf("Too many arguments. Expected only the shell type. ex. kompose completion [bash|zsh]")
|
||||
}
|
||||
shell := args[0]
|
||||
if shell != "bash" && shell != "zsh" {
|
||||
}
|
||||
|
||||
// Generate bash through cobra if selected
|
||||
if shell == "bash" {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user