更新「lib/process_shared/posix/libc.rb」

fix File.exists?
This commit is contained in:
chiu 2023-04-08 14:47:01 +00:00
parent 857bb2ae85
commit 4cd4344f13
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ module ProcessShared
helper = 'process_shared/posix/helper.' + suffix
fallback_path = File.expand_path(File.dirname(__FILE__))
path = $LOAD_PATH.find(fallback_path) do |path|
File.exists?(File.join(path, helper))
File.exist?(File.join(path, helper))
end
if defined?(Truffle)