Merge pull request #682 from surajnarwade/sanity_check_fix

Remove empty if branch
This commit is contained in:
Charlie Drage 2017-07-07 10:10:34 -04:00 committed by GitHub
commit 52b11e505a

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]") return fmt.Errorf("Too many arguments. Expected only the shell type. ex. kompose completion [bash|zsh]")
} }
shell := args[0] shell := args[0]
if shell != "bash" && shell != "zsh" {
}
// Generate bash through cobra if selected // Generate bash through cobra if selected
if shell == "bash" { if shell == "bash" {