diff options
| author | Vítor Galvão | 2017-03-16 02:05:55 +0000 |
|---|---|---|
| committer | GitHub | 2017-03-16 02:05:55 +0000 |
| commit | 0f35f4ca1e01d18824831727ad08e93bc3f9160b (patch) | |
| tree | 5d51e1484f3cd9c410899650e441a9e391dbe41f | |
| parent | 4d88cc4c41113be2d5bf11c11fa671c763705a64 (diff) | |
| parent | e1670a9210d461184708217285975a0023afc20b (diff) | |
| download | brew-0f35f4ca1e01d18824831727ad08e93bc3f9160b.tar.bz2 | |
Merge pull request #2347 from reitermarkus/fix-each_artifact
Remove `sort` from `each_artifact`.
| -rw-r--r-- | Library/Homebrew/cask/lib/hbc/artifact/relocated.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb b/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb index e92b16227..7757d32d0 100644 --- a/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb +++ b/Library/Homebrew/cask/lib/hbc/artifact/relocated.rb @@ -43,8 +43,7 @@ module Hbc end def each_artifact - # the sort is for predictability between Ruby versions - @cask.artifacts[self.class.artifact_dsl_key].sort.each do |artifact| + @cask.artifacts[self.class.artifact_dsl_key].each do |artifact| load_specification(artifact) yield end |
