Skip to content

Commit 49d9faa

Browse files
committed
fix from Jay Scott for windows native bug
1 parent 99d724c commit 49d9faa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/jruby_art/native_folder.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def name
3030
return format(LINUX_FORMAT, ARM32) if /arm/.match?(bit)
3131
end
3232
if WIN_PATTERNS.any? { |pat| pat =~ os }
33-
return format(WINDOWS_FORMAT, '64') if /64/.match?(bit)
34-
return format(WINDOWS_FORMAT, '32') if /32/.match?(bit)
33+
return format(WIN_FORMAT, '64') if /64/.match?(bit)
34+
return format(WIN_FORMAT, '32') if /32/.match?(bit)
3535
end
3636
raise 'Unsupported Architecture'
3737
end

0 commit comments

Comments
 (0)