Skip to content

Commit

Permalink
Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbarry committed Sep 21, 2024
1 parent 091dc7a commit 96078c9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions lib/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,12 @@ def determine_libwasmvm_suffix
else
raise "Unsupported architecture: #{Hardware::CPU.arch}"
end
elsif Hardware::CPU.intel?
"x86_64.so"
elsif Hardware::CPU.arm?
"aarch64.so"
else
if Hardware::CPU.intel?
"x86_64.so"
elsif Hardware::CPU.arm?
"aarch64.so"
else
raise "Unsupported architecture: #{Hardware::CPU.arch}"
end
raise "Unsupported architecture: #{Hardware::CPU.arch}"
end
else
raise "Unsupported OS: #{OS::NAME}"
Expand Down

0 comments on commit 96078c9

Please sign in to comment.