0
0
forked from toolshed/abra

fix: skip name validation for remote recipes

See toolshed/abra#601
This commit is contained in:
2025-08-18 08:56:52 +02:00
parent 60b3af1fa4
commit 1aa7016789
3 changed files with 17 additions and 11 deletions

View File

@ -59,7 +59,9 @@ func ValidateRecipe(args []string, cmdName string) recipe.Recipe {
}
if _, ok := knownRecipes[recipeName]; !ok {
log.Fatalf("no recipe '%s' exists?", recipeName)
if !strings.Contains(recipeName, "/") {
log.Fatalf("no recipe '%s' exists?", recipeName)
}
}
chosenRecipe := recipe.Get(recipeName)