fix: pass name correctly

Follows from 9cc2554846
This commit is contained in:
decentral1se 2021-12-26 00:15:03 +01:00
parent 17340a79da
commit 86d87253c5
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410
1 changed files with 2 additions and 4 deletions

View File

@ -146,10 +146,8 @@ A new catalogue copy can be published to the recipes repository by passing the
logrus.Fatalf("%s has locally unstaged changes", rm.Name)
}
if recipeName == "" { // don't run twice
if err := recipe.EnsureUpToDate(recipeDir); err != nil {
logrus.Fatal(err)
}
if err := recipe.EnsureUpToDate(rm.Name); err != nil {
logrus.Fatal(err)
}
ch <- rm.Name