Sort Hbc::installed.
This commit is contained in:
parent
b2995be445
commit
2fa8596302
@ -27,6 +27,7 @@ module Hbc
|
|||||||
# TODO: speed up Hbc::Source::Tapped (main perf drag is calling Hbc.all_tokens repeatedly)
|
# 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)
|
# TODO: ability to specify expected source when calling CaskLoader.load (minor perf benefit)
|
||||||
Pathname.glob(caskroom.join("*"))
|
Pathname.glob(caskroom.join("*"))
|
||||||
|
.sort
|
||||||
.map do |caskroom_path|
|
.map do |caskroom_path|
|
||||||
token = caskroom_path.basename.to_s
|
token = caskroom_path.basename.to_s
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user