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