Merge pull request #11845 from dtrodrigues/typecheck-silicon

This commit is contained in:
Dustin Rodrigues 2021-08-11 08:04:12 -04:00 committed by GitHub
commit 025d212db6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"])