forked from toolshed/abra
refactor(recipe): remove Dir method on old struct
This commit is contained in:
@ -136,11 +136,6 @@ type Recipe struct {
|
||||
Meta RecipeMeta
|
||||
}
|
||||
|
||||
// Dir retrieves the recipe repository path
|
||||
func (r Recipe) Dir() string {
|
||||
return path.Join(config.RECIPES_DIR, r.Name)
|
||||
}
|
||||
|
||||
// Get retrieves a recipe.
|
||||
func Get(recipeName string, offline bool) (Recipe, error) {
|
||||
r := Get2(recipeName)
|
||||
|
Reference in New Issue
Block a user