Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/ruby/jruby/kernel/file.rb
Original file line number Diff line number Diff line change
@@ -130,7 +130,7 @@ def self.symlink?(file)
return false if file =~ /^(classpath:|classloader:|uri:classloader|jar:)/ || !File.exist?(file)

file.slice!(5..-1) if file =~ /^file:/
wfile = checked.wincode
wfile = file.wincode
attrib = GetFileAttributesW(wfile)

if attrib == INVALID_FILE_ATTRIBUTES

0 comments on commit 5bfce16

Please sign in to comment.