From e4fb848c31276f3f2a2c2f233a2bc9b38e1b200f Mon Sep 17 00:00:00 2001 From: Michael Crumm Date: Mon, 23 Aug 2021 18:20:13 -0700 Subject: [PATCH] Fix target detection on FreeBSD h/t @julp See https://github.com/phoenixframework/esbuild/pull/13 --- lib/dart_sass.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/dart_sass.ex b/lib/dart_sass.ex index d56083d..6f342b2 100644 --- a/lib/dart_sass.ex +++ b/lib/dart_sass.ex @@ -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