diff options
| author | Markus Reiter | 2017-06-06 14:49:28 +0200 |
|---|---|---|
| committer | Markus Reiter | 2017-06-06 15:53:02 +0200 |
| commit | 2fa8596302b4dadfb7a58d8529e2f4a8609c0884 (patch) | |
| tree | a7f39e13c3549ff52472b1a638a7c3f63ae519fe /Library/Homebrew/cask/lib | |
| parent | b2995be4453e8d2d7367dac1d573258f2a59148f (diff) | |
| download | brew-2fa8596302b4dadfb7a58d8529e2f4a8609c0884.tar.bz2 | |
Sort `Hbc::installed`.
Diffstat (limited to 'Library/Homebrew/cask/lib')
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/scopes.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/scopes.rb b/Library/Homebrew/cask/lib/hbc/scopes.rb index 149c2c343..a469ae0fa 100644 --- a/Library/Homebrew/cask/lib/hbc/scopes.rb +++ b/Library/Homebrew/cask/lib/hbc/scopes.rb @@ -27,6 +27,7 @@ module Hbc # TODO: speed up Hbc::Source::Tapped (main perf drag is calling Hbc.all_tokens repeatedly) # TODO: ability to specify expected source when calling CaskLoader.load (minor perf benefit) Pathname.glob(caskroom.join("*")) + .sort .map do |caskroom_path| token = caskroom_path.basename.to_s |
