From f27f8a84acaed717615bc500793b45e13fd1314f Mon Sep 17 00:00:00 2001 From: Awesome Code Date: Sat, 24 Feb 2024 14:26:36 +0000 Subject: [PATCH] Auto corrected by following Format Ruby Code --- lib/synvert/command.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/synvert/command.rb b/lib/synvert/command.rb index 91d6499..fa9e8b8 100644 --- a/lib/synvert/command.rb +++ b/lib/synvert/command.rb @@ -213,7 +213,8 @@ def test_snippet_in_bundle_gems(rewriter) Core::Configuration.root_path = path rewriter.reset test_results = rewriter.test - affected_file_paths = test_results.filter { |result| result.affected? }.map { |result| result.file_path } + affected_file_paths = test_results.filter { |result| result.affected? } + .map { |result| result.file_path } if affected_file_paths.size > 0 puts "#{gem_name} #{gem_version_with_parentheses}" affected_file_paths.each { |affected_file_path| puts " #{affected_file_path}" }