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:
parent
68ea892daf
commit
d336db6568
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue