Partially reverts 4338f35b848ad61462fc4f73e1365e6c002201a2

This commit is contained in:
Xu Cheng 2016-08-05 22:16:19 +08:00
parent a8566c9848
commit b33b1af073
No known key found for this signature in database
GPG Key ID: C2A3860FA0B459CE

View File

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