fix typecheck

This commit is contained in:
Max Eisner 2022-08-10 18:04:16 +02:00
parent ab6a4d757a
commit e18432089b
No known key found for this signature in database
GPG Key ID: 4BF122C22879F0C8
2 changed files with 7 additions and 1 deletions

View File

@ -518,7 +518,7 @@ module RuboCop
return if offenses.blank? return if offenses.blank?
offenses[0...-1].each do |node| T.must(offenses[0...-1]).each do |node|
offending_node(node) offending_node(node)
problem "Use a single `generate_completions_from_executable` call problem "Use a single `generate_completions_from_executable` call
combining all specified shells" do |corrector| combining all specified shells" do |corrector|

View File

@ -5098,6 +5098,12 @@ class RuboCop::Cop::FormulaAudit::DeprecateDisableReason
def reason(param0); end def reason(param0); end
end end
class RuboCop::Cop::FormulaAudit::GenerateCompletionsDSL
def correctable_shell_completion_node(param0); end
def shell_completion_node(param0); end
end
class RuboCop::Cop::FormulaAudit::GitUrls class RuboCop::Cop::FormulaAudit::GitUrls
def url_has_revision?(param0=T.unsafe(nil)); end def url_has_revision?(param0=T.unsafe(nil)); end
end end