Satisfy brew typecheck

This commit is contained in:
Rylan Polster 2020-11-30 20:32:46 -05:00
parent 0c41d374c9
commit 8d5dc76284
2 changed files with 4 additions and 1 deletions

View File

@ -129,6 +129,9 @@ module Homebrew
sig { returns(T.nilable(T::Boolean)) }
def markdown?; end
sig { returns(T.nilable(T::Boolean)) }
def reset_cache?; end
sig { returns(T.nilable(String)) }
def tag; end

View File

@ -424,7 +424,7 @@ describe CoreTap do
end
specify "files" do
path = CoreTap::TAP_DIRECTORY/"homebrew/homebrew-core"
path = Tap::TAP_DIRECTORY/"homebrew/homebrew-core"
formula_file = subject.formula_dir/"foo.rb"
formula_file.write <<~RUBY
class Foo < Formula