forked from toolshed/abra
@ -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)
|
||||
|
Reference in New Issue
Block a user