mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix cask_help rbi
This commit is contained in:
parent
b010e397d6
commit
c83e0170a9
@ -6,7 +6,7 @@ module RuboCop
|
||||
module Cask
|
||||
# Common functionality for cops checking casks.
|
||||
module CaskHelp
|
||||
prepend CommentsHelp
|
||||
prepend CommentsHelp # Update the rbi file if changing this: https://github.com/sorbet/sorbet/issues/259
|
||||
|
||||
sig { overridable.params(cask_block: RuboCop::Cask::AST::CaskBlock).void }
|
||||
def on_cask(cask_block); end
|
||||
|
@ -1,6 +1,7 @@
|
||||
# typed: strict
|
||||
|
||||
module RuboCop::Cop::Cask::CaskHelp
|
||||
# Sorbet doesn't understand `prepend`: https://github.com/sorbet/sorbet/issues/259
|
||||
include RuboCop::Cop::CommentsHelp
|
||||
requires_ancestor { RuboCop::Cop::Base }
|
||||
# requires_ancestor { RuboCop::Cop::CommentsHelp }
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user