Skip to content

Commit

Permalink
Merge pull request #11845 from dtrodrigues/typecheck-silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrodrigues committed Aug 11, 2021
2 parents 2d2aff3 + c6bb748 commit 025d212
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions Library/Homebrew/dev-cmd/typecheck.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ def typecheck_args
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."
Expand Down Expand Up @@ -44,11 +42,6 @@ def typecheck_args

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"])
Expand Down

0 comments on commit 025d212

Please sign in to comment.