Skip to content

Commit

Permalink
audit: code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
razvanazamfirei committed Nov 5, 2023
1 parent c90e6e7 commit e605237
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/cask/audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -544,6 +544,7 @@ def audit_livecheck_version
sig { void }
def audit_min_os
return unless online?
return unless strict?

odebug "Auditing minimum OS version"

Expand Down Expand Up @@ -630,6 +631,7 @@ def cask_plist_min_os
break if plist_min_os
end
end

begin
MacOSVersion.new(plist_min_os).strip_patch
rescue MacOSVersion::Error
Expand Down

0 comments on commit e605237

Please sign in to comment.