Merge pull request #8019 from vidusheeamoli/set-os-to-true

sorbet: set os.rb to true
This commit is contained in:
Issy Long 2020-07-17 23:07:55 +01:00 committed by GitHub
commit 531eb4753d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 4 deletions

View File

@ -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,11 +498,8 @@ false:
- ./messages.rb
- ./mktemp.rb
- ./options.rb
- ./os.rb
- ./os/linux/elf.rb
- ./os/linux/glibc.rb
- ./os/linux/global.rb
- ./os/linux/kernel.rb
- ./os/mac/architecture_list.rb
- ./pkg_version.rb
- ./requirements/arch_requirement.rb
@ -879,6 +875,10 @@ true:
- ./locale.rb
- ./metafiles.rb
- ./official_taps.rb
- ./os.rb
- ./os/linux.rb
- ./os/linux/glibc.rb
- ./os/linux/kernel.rb
- ./rubocops/cask/ast/cask_header.rb
- ./rubocops/cask/ast/stanza.rb
- ./rubocops/cask/constants/stanza.rb

View 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