lib/pronto/runners.rb in pronto-0.8.2 vs lib/pronto/runners.rb in pronto-0.9.0

- old
+ new

@@ -26,13 +26,12 @@ private def reject_excluded(excluded_files, patches) return patches unless excluded_files.any? - patches.reject! do |patch| + patches.reject do |patch| excluded_files.include?(patch.new_file_full_path.to_s) end - patches end def exceeds_max?(warnings) @config.max_warnings && warnings.count >= @config.max_warnings end