sorbet: set os.rb to true
This commit is contained in:
parent
13f0d4ad2b
commit
775f5f88ea
@ -229,7 +229,6 @@ false:
|
||||
- ./lock_file.rb
|
||||
- ./migrator.rb
|
||||
- ./missing_formula.rb
|
||||
- ./os/linux.rb
|
||||
- ./os/mac.rb
|
||||
- ./os/mac/keg.rb
|
||||
- ./os/mac/mach.rb
|
||||
@ -499,7 +498,6 @@ false:
|
||||
- ./messages.rb
|
||||
- ./mktemp.rb
|
||||
- ./options.rb
|
||||
- ./os.rb
|
||||
- ./os/linux/elf.rb
|
||||
- ./os/linux/glibc.rb
|
||||
- ./os/linux/global.rb
|
||||
@ -879,6 +877,8 @@ true:
|
||||
- ./locale.rb
|
||||
- ./metafiles.rb
|
||||
- ./official_taps.rb
|
||||
- ./os.rb
|
||||
- ./os/linux.rb
|
||||
- ./rubocops/cask/ast/cask_header.rb
|
||||
- ./rubocops/cask/ast/stanza.rb
|
||||
- ./rubocops/cask/constants/stanza.rb
|
||||
|
||||
14
Library/Homebrew/sorbet/rbi/os.rbi
Normal file
14
Library/Homebrew/sorbet/rbi/os.rbi
Normal file
@ -0,0 +1,14 @@
|
||||
# typed: true
|
||||
|
||||
module OS
|
||||
module Linux
|
||||
include Kernel
|
||||
|
||||
def which(cmd, path = ENV["PATH"])
|
||||
end
|
||||
end
|
||||
|
||||
module Mac
|
||||
include Kernel
|
||||
end
|
||||
end
|
||||
Loading…
x
Reference in New Issue
Block a user