1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Ignore EACCES on Windows

This commit is contained in:
Nobuyoshi Nakada 2022-09-09 11:35:47 +09:00
parent 35cfc9a3bb
commit 59eadf3d25
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -116,7 +116,7 @@ end
if File.respond_to?(:symlink)
begin
ln_sr(src, dest, verbose: true, target_directory: target_directory, force: force, noop: noop)
rescue NotImplementedError, Errno::EPERM
rescue NotImplementedError, Errno::EPERM, Errno::EACCES
else
exit
end