fix: pass recipe name for listing cmds
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2024-07-09 17:12:36 +02:00
parent 7f910b4e5b
commit 1a3ec7a107
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -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)