Merge pull request #11845 from dtrodrigues/typecheck-silicon
This commit is contained in:
commit
025d212db6
@ -13,8 +13,6 @@ module Homebrew
|
||||
Homebrew::CLI::Parser.new do
|
||||
description <<~EOS
|
||||
Check for typechecking errors using Sorbet.
|
||||
|
||||
Not (yet) working on Apple Silicon.
|
||||
EOS
|
||||
switch "--fix",
|
||||
description: "Automatically fix type errors."
|
||||
@ -44,11 +42,6 @@ module Homebrew
|
||||
|
||||
sig { void }
|
||||
def typecheck
|
||||
# TODO: update description above if removing this.
|
||||
if Hardware::CPU.arm? || Hardware::CPU.in_rosetta2?
|
||||
raise UsageError, "not (yet) working on Apple Silicon or Rosetta 2!"
|
||||
end
|
||||
|
||||
args = typecheck_args.parse
|
||||
|
||||
Homebrew.install_bundler_gems!(groups: ["sorbet"])
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user