Skip to content

Commit 4662fa5

Browse files
authored
Merge pull request #1549 from Homebrew/fix-nil-tap
formulae_dependents: fix nil `tap`
2 parents 6b0795a + 0d0f9ee commit 4662fa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tests/formulae_dependents.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def run!(args:)
3333
[]
3434
end
3535

36-
test "brew", "untap", "--force", "homebrew/cask" if !tap.core_cask_tap? && CoreCaskTap.instance.installed?
36+
test "brew", "untap", "--force", "homebrew/cask" if !tap&.core_cask_tap? && CoreCaskTap.instance.installed?
3737

3838
@dependent_testing_formulae.each do |formula_name|
3939
dependent_formulae!(formula_name, args:)

0 commit comments

Comments
 (0)