Skip to content

Commit

Permalink
Add missing sigs
Browse files Browse the repository at this point in the history
  • Loading branch information
dduugg committed Aug 15, 2024
1 parent 70b072a commit 7177ddd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/extend/os/linux/cleanup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ module Homebrew
class Cleanup
undef use_system_ruby?

sig { returns(T::Boolean) }
def use_system_ruby?
return false if Homebrew::EnvConfig.force_vendor_ruby?

Expand Down
1 change: 1 addition & 0 deletions Library/Homebrew/extend/os/mac/linkage_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class LinkageChecker

private

sig { returns(T::Boolean) }
def system_libraries_exist_in_cache?
# In macOS Big Sur and later, system libraries do not exist on-disk and instead exist in a cache.
MacOS.version >= :big_sur
Expand Down

0 comments on commit 7177ddd

Please sign in to comment.