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:
		
						commit
						fc5265ae5c
					
				@ -98,10 +98,6 @@ Naming/InclusiveLanguage:
 | 
			
		||||
    blacklist:
 | 
			
		||||
      AllowedRegex:
 | 
			
		||||
        - "--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:
 | 
			
		||||
  IgnoredPatterns:
 | 
			
		||||
 | 
			
		||||
@ -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,
 | 
			
		||||
          )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user