We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a48387c commit 12db9aaCopy full SHA for 12db9aa
lib/propane/native_folder.rb
@@ -22,10 +22,7 @@ def initialize
22
23
def name
24
return 'macosx' if /darwin|mac/.match?(os)
25
- if /linux/.match?(os)
26
- return format(LINUX_FORMAT, '64') if /amd64/.match?(bit)
27
- return format(LINUX_FORMAT, ARM32) if /arm/.match?(bit)
28
- end
+ return format(LINUX_FORMAT, bit) if os =~ /linux/
29
if WIN_PATTERNS.any? { |pat| pat =~ os }
30
return format(WINDOWS_FORMAT, '64') if /64/.match?(bit)
31
return format(WINDOWS_FORMAT, '32') if /32/.match?(bit)
0 commit comments