Revert "Partially reverts 4338f35b848ad61462fc4f73e1365e6c002201a2"

This reverts commit b33b1af073979c8a699ed9688dba37fb7e74f0b5.
This commit is contained in:
Mike McQuaid 2016-08-05 15:28:20 +01:00
parent b33b1af073
commit a9ab066654

View File

@ -193,7 +193,7 @@ class Reporter
dst = Pathname.new paths.last dst = Pathname.new paths.last
next unless dst.extname == ".rb" next unless dst.extname == ".rb"
next unless paths.any? { |p| tap.formula_file?(p) } next unless paths.any? { |p| tap.formula_file?(p) || tap.cask_file?(p)}
case status case status
when "A", "D" when "A", "D"