Skip to content

Commit

Permalink
Merge pull request #106 from xinminlabs/awesomecode-format-ruby-code-…
Browse files Browse the repository at this point in the history
…60594

Auto corrected by following Format Ruby Code
  • Loading branch information
flyerhzm authored Feb 24, 2024
2 parents 2262bec + f27f8a8 commit a2e4d38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/synvert/command.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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}" }
Expand Down

0 comments on commit a2e4d38

Please sign in to comment.