Sort Hbc::installed.

This commit is contained in:
Markus Reiter 2017-06-06 14:49:28 +02:00
parent b2995be445
commit 2fa8596302

View File

@ -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