Skip to content

Commit

Permalink
Fix target detection on FreeBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrumm committed Aug 24, 2021
1 parent 91e0b94 commit e4fb848
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dart_sass.ex
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ defmodule DartSass do
osname = if osname == :darwin, do: :macos, else: osname

case arch do
"amd64" -> "#{osname}-x64.tar.gz"
"x86_64" -> "#{osname}-x64.tar.gz"
_ -> raise "could not download dart_sass for architecture: #{arch_str}"
end
Expand Down

0 comments on commit e4fb848

Please sign in to comment.