Skip to content

Commit d5347e9

Browse files
committed
Remove Pathname wrapping
1 parent b73012d commit d5347e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rails/diff.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def diff_file(file)
154154
right_label: "Repo File (#{file})",
155155
)
156156

157-
differ.diff_files(Pathname.new(rails_file), Pathname.new(repo_file)).chomp
157+
differ.diff_files(rails_file, repo_file).chomp
158158
end
159159

160160
def cached_app?

0 commit comments

Comments
 (0)