Changing the magic &:downcase back to regular block.
Fixes Homebrew/homebrew#2089 Signed-off-by: Adam Vandenberg <flangy@gmail.com> (This is needed for 10.5 support.)
This commit is contained in:
parent
91b7000159
commit
d85ff377f3
@ -114,6 +114,6 @@ module HomebrewArgvExtension
|
||||
private
|
||||
|
||||
def downcased_unique_named
|
||||
@downcased_unique_named ||= named.map(&:downcase).uniq
|
||||
@downcased_unique_named ||= named.map{|arg| arg.downcase}.uniq
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user