Merge pull request #11689 from issyl0/sorbet-rename-allowed-or-ignored-error-codes-parameter

dev-cmd/typecheck: `error-white-list` renamed to `isolate-error-code`
This commit is contained in:
Mike McQuaid 2021-07-12 10:45:10 +01:00 committed by GitHub
commit fc5265ae5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 5 deletions

View File

@ -98,10 +98,6 @@ Naming/InclusiveLanguage:
blacklist: blacklist:
AllowedRegex: AllowedRegex:
- "--listBlacklist" # Used in formula `xmlsectool` - "--listBlacklist" # Used in formula `xmlsectool`
whitelist:
AllowedRegex:
- "--error-white-list" # For an option passed to `srb` in dev-cmd/typecheck.rb
- "--repo-whitelist" # Used in formula `atlantis`
Naming/MethodName: Naming/MethodName:
IgnoredPatterns: IgnoredPatterns:

View File

@ -67,7 +67,8 @@ module Homebrew
if args.suggest_typed? if args.suggest_typed?
result = system_command( result = system_command(
"bundle", "bundle",
args: ["exec", "--", "srb", "tc", "--suggest-typed", "--typed=strict", "--error-white-list=7022"], args: ["exec", "--", "srb", "tc", "--suggest-typed", "--typed=strict",
"--isolate-error-code=7022"],
print_stderr: false, print_stderr: false,
) )