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

fix File.exists?
This commit is contained in:
chiu committed 2023-04-08 14:47:01 +00:00
1 parent 857bb2ae85
commit 4cd4344f13
1 file changed
+1 -1
+1 -1
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)