Skip to content

Commit 943ce29

Browse files
committed
Support more esoteric version tuples
1 parent 973918d commit 943ce29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/mix/tasks/phoenix_sync.install.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ if Code.ensure_loaded?(Igniter) do
300300
defp required_electric_version do
301301
Phoenix.Sync.MixProject.project()
302302
|> Keyword.fetch!(:deps)
303-
|> Enum.find(&match?({:electric, _, _}, &1))
303+
|> Enum.find(&(elem(&1, 0) == :electric))
304304
|> elem(1)
305305
end
306306

0 commit comments

Comments
 (0)