Skip to content

Commit

Permalink
Merge pull request #899 from Homebrew/formula_detect_cask
Browse files Browse the repository at this point in the history
formulae_detect: reject casks.
  • Loading branch information
MikeMcQuaid committed Apr 4, 2023
2 parents 7dff71c + 079d637 commit dc5078c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/tests/formulae_detect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def diff_formulae(start_revision, end_revision, path, filter)
start_revision, end_revision, "--", path
).lines.map do |line|
file = Pathname.new line.chomp
next if tap.cask_file?(file)
next unless tap.formula_file?(file)

tap.formula_file_to_name(file)
Expand Down

0 comments on commit dc5078c

Please sign in to comment.