diff options
| author | Xu Cheng | 2015-11-16 19:20:07 +0800 | 
|---|---|---|
| committer | Xu Cheng | 2015-11-16 20:59:12 +0800 | 
| commit | b3f0b280254e8fb3499080e7b84623ae54c87c85 (patch) | |
| tree | f61506fdbd4ee94e61438d06970d04a9549c6749 /Library/Homebrew/formula_pin.rb | |
| parent | 0abe554420fd8304537267e1267dbb3071136fc9 (diff) | |
| download | brew-b3f0b280254e8fb3499080e7b84623ae54c87c85.tar.bz2 | |
FormulaPin: pin at max version
Diffstat (limited to 'Library/Homebrew/formula_pin.rb')
| -rw-r--r-- | Library/Homebrew/formula_pin.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/formula_pin.rb b/Library/Homebrew/formula_pin.rb index 842d108c2..9a9aa4ced 100644 --- a/Library/Homebrew/formula_pin.rb +++ b/Library/Homebrew/formula_pin.rb @@ -18,7 +18,7 @@ class FormulaPin    end    def pin -    pin_at(@f.rack.subdirs.map { |d| Keg.new(d).version }.first) +    pin_at(@f.rack.subdirs.map { |d| Keg.new(d).version }.max)    end    def unpin  | 
