dev-cmd/typecheck: error-white-list renamed to isolate-error-code

- It was renamed in
  4ea6842988
  which is included in the ancient version we're using.
This commit is contained in:
Issy Long 2021-07-10 00:29:01 +01:00
parent 5659d74ff5
commit 6ce59fef8b
No known key found for this signature in database
GPG Key ID: 8247C390DADC67D4
2 changed files with 3 additions and 3 deletions

View File

@ -100,8 +100,7 @@ Naming/InclusiveLanguage:
- "--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`
- "--repo-whitelist" # Used in formula `atlantis`
Naming/MethodName:
IgnoredPatterns:

View File

@ -67,7 +67,8 @@ module Homebrew
if args.suggest_typed?
result = system_command(
"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,
)