From df76c5b9ef21527aece884431b2e4a8aa960951d Mon Sep 17 00:00:00 2001 From: Yoann Lecuyer Date: Thu, 27 Apr 2023 11:22:53 +0200 Subject: [PATCH] Minor: Allow non ruby files. --- lib/pronto/undercover.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pronto/undercover.rb b/lib/pronto/undercover.rb index d3ef306..24cd5f6 100644 --- a/lib/pronto/undercover.rb +++ b/lib/pronto/undercover.rb @@ -31,7 +31,7 @@ def run private def valid_patch?(patch) - patch.additions.positive? && ruby_file?(patch.new_file_full_path) + patch.additions.positive? end # rubocop:disable Metrics/MethodLength, Metrics/AbcSize