forked from toolshed/abra
fix: use one function for up-to-date checks
This commit is contained in:
@ -146,7 +146,7 @@ A new catalogue copy can be published to the recipes repository by passing the
|
||||
logrus.Fatalf("%s has locally unstaged changes", rm.Name)
|
||||
}
|
||||
|
||||
if err := gitPkg.EnsureUpToDate(recipeDir); err != nil {
|
||||
if err := recipe.EnsureUpToDate(recipeDir); err != nil {
|
||||
logrus.Fatal(err)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user