Skip to content

Commit

Permalink
Tweak back to MRI format.
Browse files Browse the repository at this point in the history
headius committed May 13, 2018

Verified

This commit was signed with the committer’s verified signature.
headius Charles Oliver Nutter
1 parent be4a079 commit f95cdb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby/stdlib/fileutils.rb
Original file line number Diff line number Diff line change
@@ -469,7 +469,7 @@ def mv(src, dest, force: nil, noop: nil, verbose: nil, secure: nil)
end
begin
File.rename s, d
rescue EXDEV
rescue Errno::EXDEV
copy_entry s, d, true
if secure
remove_entry_secure s, force

0 comments on commit f95cdb1

Please sign in to comment.