forked from coop-cloud/abra
fix: dont render if no versions
This commit is contained in:
parent
c8541e1b9d
commit
d66c558b5c
|
@ -40,7 +40,12 @@ var recipeVersionCommand = &cli.Command{
|
|||
}
|
||||
|
||||
table.SetAutoMergeCells(true)
|
||||
table.Render()
|
||||
|
||||
if table.NumLines() > 0 {
|
||||
table.Render()
|
||||
} else {
|
||||
logrus.Fatalf("%s has no published versions?", recipe.Name)
|
||||
}
|
||||
|
||||
return nil
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue