Skip to content

Commit

Permalink
Use match? instead of == to compare results of Bundlex.get_target()
Browse files Browse the repository at this point in the history
  • Loading branch information
varsill committed Apr 5, 2024
1 parent fad0613 commit b893f0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/agora/agora_source_native.ex
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Membrane.Agora.Source.Native do
@moduledoc false

if Bundlex.get_target() == %{os: "linux", architecture: "x86_64"} do
if match?(%{os: "linux", architecture: "x86_64"}, Bundlex.get_target()) do
use Unifex.Loader
end
end

0 comments on commit b893f0f

Please sign in to comment.