diff options
| author | Mike McQuaid | 2017-06-10 20:23:20 +0300 | 
|---|---|---|
| committer | Mike McQuaid | 2017-06-10 20:23:20 +0300 | 
| commit | 7a0aff1080ba475f495353cf8686fbe928b6ebde (patch) | |
| tree | 33ea428a46397f8c461d737319537cb521394afd /Library/Homebrew/utils.rb | |
| parent | 564b03aa01fbb994fe8325cd57a28a2b0545dcb1 (diff) | |
| download | brew-7a0aff1080ba475f495353cf8686fbe928b6ebde.tar.bz2 | |
Autocorrect Rubocop Style/PerlBackrefs.
Diffstat (limited to 'Library/Homebrew/utils.rb')
| -rw-r--r-- | Library/Homebrew/utils.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 826cf4c5c..e50a6acf2 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -76,7 +76,7 @@ def odeprecated(method, replacement = nil, disable: false, disable_on: nil, call    tap_message = nil    caller_message = backtrace.detect do |line|      next unless line =~ %r{^#{Regexp.escape(HOMEBREW_LIBRARY)}/Taps/([^/]+/[^/]+)/} -    tap = Tap.fetch $1 +    tap = Tap.fetch Regexp.last_match(1)      tap_message = "\nPlease report this to the #{tap} tap!"      true    end | 
