Skip to content

Commit abeaf0c

Browse files
committed
Use Differ#diff_files
1 parent a0635bb commit abeaf0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rails/diff.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def diff_file(file)
131131
right_label: "Repo File (#{file})",
132132
)
133133

134-
differ.diff_ruby(File.read(rails_file), File.read(repo_file)).chomp
134+
differ.diff_files(Pathname.new(rails_file), Pathname.new(repo_file)).chomp
135135
end
136136

137137
def cached_app?

0 commit comments

Comments
 (0)