Remove empty if branch

This PR will remove empty `if` branch which is of no use now as
this logic is being done in if statements which are written further.
This commit is contained in:
Suraj Narwade 2017-07-06 18:41:41 +05:30
parent 14dbb30735
commit 8336b6526f

View File

@ -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" {