mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Reorder #audit_min_os array for consistency
This change doesn't affect the behavior of the `#audit_min_os` method and simply reorders the array members to place `plist_min_os` before `sparkle_min_os` for the sake of consistency (using the same order as the preceding lines).
This commit is contained in:
parent
28451bd2bc
commit
491e2c4a80
@ -574,7 +574,7 @@ module Cask
|
|||||||
debug_messages << "Plist #{plist_min_os}" if plist_min_os
|
debug_messages << "Plist #{plist_min_os}" if plist_min_os
|
||||||
debug_messages << "Sparkle #{sparkle_min_os}" if sparkle_min_os
|
debug_messages << "Sparkle #{sparkle_min_os}" if sparkle_min_os
|
||||||
odebug "Minimum OS version: #{debug_messages.join(" | ")}" unless debug_messages.empty?
|
odebug "Minimum OS version: #{debug_messages.join(" | ")}" unless debug_messages.empty?
|
||||||
min_os = [sparkle_min_os, plist_min_os].compact.max
|
min_os = [plist_min_os, sparkle_min_os].compact.max
|
||||||
|
|
||||||
return if min_os.nil? || min_os <= HOMEBREW_MACOS_OLDEST_ALLOWED
|
return if min_os.nil? || min_os <= HOMEBREW_MACOS_OLDEST_ALLOWED
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user