aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2015-12-06 22:45:03 +0800
committerXu Cheng2015-12-09 16:56:59 +0800
commitc79619839859d63112d8c9d0d415949642ff3eec (patch)
tree04dc7f19e10d494965ca98d26b99de6b1fa2a68d /Library
parent9a384f5134f19663f90ccf5737635051e11ebb90 (diff)
downloadbrew-c79619839859d63112d8c9d0d415949642ff3eec.tar.bz2
formula_versions: tap is a Tap object now
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_versions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_versions.rb b/Library/Homebrew/formula_versions.rb
index 3d92d676c..34416dca4 100644
--- a/Library/Homebrew/formula_versions.rb
+++ b/Library/Homebrew/formula_versions.rb
@@ -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