Merge pull request #11591 from bayandin/fix-typecheck-update

typecheck: do not generate RBI file for did_you_mean
This commit is contained in:
Mike McQuaid 2021-06-24 16:14:27 +01:00 committed by GitHub
commit dc2c0ec8cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,8 +55,12 @@ module Homebrew
HOMEBREW_LIBRARY_PATH.cd do
if args.update?
excluded_gems = [
"did_you_mean", # RBI file is already provided by Sorbet
]
ohai "Updating Tapioca RBI files..."
system "bundle", "exec", "tapioca", "sync"
system "bundle", "exec", "tapioca", "sync", "--exclude", *excluded_gems
system "bundle", "exec", "srb", "rbi", "hidden-definitions"
system "bundle", "exec", "srb", "rbi", "todo"