Skip to content
Snippets Groups Projects
Commit c7961983 authored by Xu Cheng's avatar Xu Cheng
Browse files

formula_versions: tap is a Tap object now

parent 9a384f51
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ class FormulaVersions
def initialize(formula)
@name = formula.name
@path = formula.path
@repository = formula.tap? ? HOMEBREW_LIBRARY.join("Taps", formula.tap) : HOMEBREW_REPOSITORY
@repository = formula.tap.path
@entry_name = @path.relative_path_from(repository).to_s
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment