forked from LaconicNetwork/kompose
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:
parent
14dbb30735
commit
8336b6526f
@ -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