aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
-rw-r--r--Library/Homebrew/software_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index 11a19b4c3..f935d9a13 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -339,10 +339,10 @@ class BottleSpecification
os_versions = collector.keys
os_versions.map! do |osx|
begin
- MacOS::Version.from_symbol osx
- rescue
- nil
- end
+ MacOS::Version.from_symbol osx
+ rescue
+ nil
+ end
end.compact!
os_versions.sort.reverse_each do |os_version|
osx = os_version.to_sym