diff options
| author | Jack Nagel | 2014-12-26 11:58:09 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-12-26 11:58:09 -0500 |
| commit | dd900302139d106f3008950ac0bd2bd71f66ddf5 (patch) | |
| tree | 697dd4253b3e2cae191b22add86c9867d006a2b2 /Library/Homebrew/tab.rb | |
| parent | c50fdbd139439576318460d12c98ba007f28becd (diff) | |
| download | brew-dd900302139d106f3008950ac0bd2bd71f66ddf5.tar.bz2 | |
Fix "possible reference to past scope" warnings on 2.2
Diffstat (limited to 'Library/Homebrew/tab.rb')
| -rw-r--r-- | Library/Homebrew/tab.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tab.rb b/Library/Homebrew/tab.rb index 29836365b..135a5dcfc 100644 --- a/Library/Homebrew/tab.rb +++ b/Library/Homebrew/tab.rb @@ -45,7 +45,7 @@ class Tab < OpenStruct def self.remap_deprecated_options deprecated_options, options deprecated_options.each do |deprecated_option| - option = options.find {|option| option.name == deprecated_option.old } + option = options.find { |o| o.name == deprecated_option.old } next unless option options -= [option] options << Option.new(deprecated_option.current, option.description) |
