forked from toolshed/abra
		
	Compare commits
	
		
			2 Commits
		
	
	
		
			fix-crash-
			...
			app-new-fi
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| a4d53a1fe5 | |||
| 508a7491b3 | 
| @ -32,12 +32,12 @@ func ValidateRecipe(args []string, cmdName string) recipe.Recipe { | |||||||
|  |  | ||||||
| 		localRecipes, err := recipe.GetRecipesLocal() | 		localRecipes, err := recipe.GetRecipesLocal() | ||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			log.Fatal(err) | 			log.Debugf("can't read local recipes: %s", err) | ||||||
| 		} | 		} else { | ||||||
|  | 			for _, recipeLocal := range localRecipes { | ||||||
| 		for _, recipeLocal := range localRecipes { | 				if _, ok := knownRecipes[recipeLocal]; !ok { | ||||||
| 			if _, ok := knownRecipes[recipeLocal]; !ok { | 					knownRecipes[recipeLocal] = true | ||||||
| 				knownRecipes[recipeLocal] = true | 				} | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user