forked from toolshed/abra
fix: pass recipe name for listing cmds
This commit is contained in:
@ -209,7 +209,7 @@ var appCmdListCommand = cli.Command{
|
|||||||
Before: internal.SubCommandBefore,
|
Before: internal.SubCommandBefore,
|
||||||
Action: func(c *cli.Context) error {
|
Action: func(c *cli.Context) error {
|
||||||
app := internal.ValidateApp(c)
|
app := internal.ValidateApp(c)
|
||||||
r := recipe.Get(app.Name)
|
r := recipe.Get(app.Recipe.Name)
|
||||||
|
|
||||||
if err := r.EnsureExists(); err != nil {
|
if err := r.EnsureExists(); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
|
Reference in New Issue
Block a user