fix: ensure recipes on latest for lint/generate
All checks were successful
continuous-integration/drone/push Build is passing

Follows b2d17a1829.
This commit is contained in:
2022-01-29 14:06:25 +01:00
parent b2d17a1829
commit bdd9b0a1aa
4 changed files with 10 additions and 4 deletions

View File

@ -24,7 +24,7 @@ var recipeLintCommand = cli.Command{
Before: internal.SubCommandBefore,
BashComplete: autocomplete.RecipeNameComplete,
Action: func(c *cli.Context) error {
recipe := internal.ValidateRecipe(c)
recipe := internal.ValidateRecipe(c, true)
if err := recipePkg.EnsureUpToDate(recipe.Name); err != nil {
logrus.Fatal(err)