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
|
Homebrew::CLI::Parser.new do
|
||||||
description <<~EOS
|
description <<~EOS
|
||||||
Check for typechecking errors using Sorbet.
|
Check for typechecking errors using Sorbet.
|
||||||
|
|
||||||
Not (yet) working on Apple Silicon.
|
|
||||||
EOS
|
EOS
|
||||||
switch "--fix",
|
switch "--fix",
|
||||||
description: "Automatically fix type errors."
|
description: "Automatically fix type errors."
|
||||||
@ -44,11 +42,6 @@ module Homebrew
|
|||||||
|
|
||||||
sig { void }
|
sig { void }
|
||||||
def typecheck
|
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
|
args = typecheck_args.parse
|
||||||
|
|
||||||
Homebrew.install_bundler_gems!(groups: ["sorbet"])
|
Homebrew.install_bundler_gems!(groups: ["sorbet"])
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user