forked from toolshed/abra
fix: pass name correctly
Follows from 9cc2554846d29986770a63bf7d3896a654082ce6
This commit is contained in:
parent
17340a79da
commit
86d87253c5
@ -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)
|
logrus.Fatalf("%s has locally unstaged changes", rm.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
if recipeName == "" { // don't run twice
|
if err := recipe.EnsureUpToDate(rm.Name); err != nil {
|
||||||
if err := recipe.EnsureUpToDate(recipeDir); err != nil {
|
logrus.Fatal(err)
|
||||||
logrus.Fatal(err)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ch <- rm.Name
|
ch <- rm.Name
|
||||||
|
Loading…
x
Reference in New Issue
Block a user