fix: only update when really needed
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-12-27 04:07:52 +01:00
parent c13f438580
commit 06cc5d1cc3
6 changed files with 22 additions and 12 deletions

View File

@ -50,6 +50,10 @@ recipes.
app := internal.ValidateApp(c)
stackName := app.StackName()
if err := recipe.EnsureUpToDate(app.Type); err != nil {
logrus.Fatal(err)
}
r, err := recipe.Get(app.Type)
if err != nil {
logrus.Fatal(err)