diff options
| author | Markus Reiter | 2017-04-27 20:17:06 +0200 | 
|---|---|---|
| committer | Markus Reiter | 2017-05-08 13:37:28 +0200 | 
| commit | 5828eefd01cd61d2a7fbf439620b21f6f5b3d1b1 (patch) | |
| tree | feff6d0886a8b2523da9d737a79f620e13b0f118 /Library/Homebrew/tap_constants.rb | |
| parent | f1d4c4be78905be0d5fd83922ff1262ed92ba4e8 (diff) | |
| download | brew-5828eefd01cd61d2a7fbf439620b21f6f5b3d1b1.tar.bz2 | |
Remove `to_s` from some `Pathname`s.
Diffstat (limited to 'Library/Homebrew/tap_constants.rb')
| -rw-r--r-- | Library/Homebrew/tap_constants.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/tap_constants.rb b/Library/Homebrew/tap_constants.rb index 4ef8015c2..773eff816 100644 --- a/Library/Homebrew/tap_constants.rb +++ b/Library/Homebrew/tap_constants.rb @@ -3,7 +3,7 @@ HOMEBREW_TAP_FORMULA_REGEX = %r{^([\w-]+)/([\w-]+)/([\w+-.@]+)$}  # match taps' casks, e.g. someuser/sometap/somecask  HOMEBREW_TAP_CASK_REGEX = %r{^([\w-]+)/([\w-]+)/([a-z0-9\-]+)$}  # match taps' directory paths, e.g. HOMEBREW_LIBRARY/Taps/someuser/sometap -HOMEBREW_TAP_DIR_REGEX = %r{#{Regexp.escape(HOMEBREW_LIBRARY.to_s)}/Taps/([\w-]+)/([\w-]+)} +HOMEBREW_TAP_DIR_REGEX = %r{#{Regexp.escape(HOMEBREW_LIBRARY)}/Taps/([\w-]+)/([\w-]+)}  # match taps' formula paths, e.g. HOMEBREW_LIBRARY/Taps/someuser/sometap/someformula  HOMEBREW_TAP_PATH_REGEX = Regexp.new(HOMEBREW_TAP_DIR_REGEX.source + %r{/(.*)}.source)  # match the default and the versions brew-cask tap e.g. Caskroom/cask or Caskroom/versions  | 
