diff options
| author | Xu Cheng | 2016-02-24 20:06:33 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-02-24 20:51:35 +0800 |
| commit | 6ac6cb4fcdc5c162543e14688d41c0b10a1b1e4a (patch) | |
| tree | acb00ad02d1d1d6664648cb9a4393bffafb41e21 /Library/Homebrew/cmd/update-ruby.rb | |
| parent | 6b6159a858009b6d82b858830533a4a3ce135a28 (diff) | |
| download | brew-6ac6cb4fcdc5c162543e14688d41c0b10a1b1e4a.tar.bz2 | |
TapLoader: improve load logic
* Use `Tap#formula_dir` instead of `Tap#formula_files` to find formula
file to have better performance and avoid caching issue.
* Change the loader logic to search name -> search alias -> search old name.
This is more consistence with what we do when loading core formula
file.
Closes Homebrew/homebrew#49484.
Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/cmd/update-ruby.rb')
0 files changed, 0 insertions, 0 deletions
