dev-cmd/typecheck: don't suppress 5061 errors, do suppress 5067.

This commit is contained in:
Mike McQuaid 2021-08-11 09:39:58 +01:00
parent 3b13cf9797
commit 62f7dcaa0e
No known key found for this signature in database
GPG Key ID: 3338A31AFDB1D829

View File

@ -104,8 +104,9 @@ module Homebrew
srb_exec = %w[bundle exec srb tc]
# TODO: comment explaining why?
srb_exec << "--suppress-error-code" << "5061"
# As-of Sorbet 0.5.9030 there's a lot of complaints about superclass/class
# relationships in RSpec (that we don't control)
srb_exec << "--suppress-error-code" << "5067"
srb_exec << "--quiet" if args.quiet?