Merge pull request #7887 from vidusheeamoli/set-utils-files-to-true

sorbet/files.yaml: set utils files to true
This commit is contained in:
Issy Long 2020-07-02 21:19:25 +01:00 committed by GitHub
commit 6d27367c7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 49 additions and 3 deletions

View File

@ -445,7 +445,6 @@ false:
- ./unpack_strategy/zip.rb
- ./utils.rb
- ./utils/analytics.rb
- ./utils/bottles.rb
- ./utils/curl.rb
- ./utils/fork.rb
- ./utils/formatter.rb
@ -847,8 +846,6 @@ false:
- ./utils/inreplace.rb
- ./utils/link.rb
- ./utils/shebang.rb
- ./utils/shell.rb
- ./utils/svn.rb
- ./version.rb
true:
@ -888,6 +885,9 @@ true:
- ./tap_constants.rb
- ./test/support/helper/fixtures.rb
- ./test/support/lib/config.rb
- ./utils/bottles.rb
- ./utils/shell.rb
- ./utils/svn.rb
- ./utils/tty.rb
- ./version/null.rb

View File

@ -0,0 +1,38 @@
# typed: strict
module Utils::Shell
include Kernel
sig{ params(path: String).returns(T.nilable(Symbol)) }
def from_path(path)
end
sig{ returns(T.nilable(Symbol)) }
def preferred
end
def parent
end
def export_value(key, value, shell = preferred)
end
sig{ returns(String) }
def profile
end
def set_variable_in_profile(variable, value)
end
sig{ params(path: String).returns(T.nilable(String)) }
def prepend_path_in_profile(path)
end
sig{ params(str: String).returns(T.nilable(String)) }
def csh_quote(str)
end
sig{ params(str: String).returns(T.nilable(String)) }
def sh_quote(str)
end
end

View File

@ -0,0 +1,8 @@
# typed: strict
module Utils
include Kernel
class Bottles
end
end