fix: get app new working again

This commit is contained in:
2021-09-07 08:12:37 +02:00
parent 87f0985ebb
commit b477bf8ece
3 changed files with 24 additions and 20 deletions

View File

@ -86,8 +86,8 @@ func EnsureExists(recipe string) error {
}
// EnsureVersion checks whether a specific version exists for a recipe.
func EnsureVersion(version string) error {
recipeDir := path.Join(config.ABRA_DIR, "apps", strings.ToLower(version))
func EnsureVersion(recipeName, version string) error {
recipeDir := path.Join(config.ABRA_DIR, "apps", recipeName)
repo, err := git.PlainOpen(recipeDir)
if err != nil {