lib/mutant/repository/diff.rb in mutant-0.11.4 vs lib/mutant/repository/diff.rb in mutant-0.11.5
- old
+ new
@@ -48,10 +48,10 @@
.fmap(&:lines)
.bind do |lines|
Mutant
.traverse(->(line) { parse_line(root, line) }, lines)
.fmap do |paths|
- paths.map { |path| [path.path, path] }.to_h
+ paths.to_h { |path| [path.path, path] }
end
end
end
# rubocop:disable Metrics/MethodLength