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

Fix a typo

This commit is contained in:
Kazuhiro NISHIYAMA 2019-11-13 15:04:49 +09:00
parent 68ea892daf
commit d336db6568
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A

View file

@ -46,7 +46,7 @@ module Kernel
$LOAD_PATH[0...Gem.load_path_insert_index || -1].each do |lp| $LOAD_PATH[0...Gem.load_path_insert_index || -1].each do |lp|
safe_lp = lp.dup.tap(&Gem::UNTAINT) safe_lp = lp.dup.tap(&Gem::UNTAINT)
begin begin
if File.symlink? safe_lp # for backword compatibility if File.symlink? safe_lp # for backward compatibility
next next
end end
rescue SecurityError rescue SecurityError