We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6016328 commit e3b5d90Copy full SHA for e3b5d90
lib/mix/lib/mix/tasks/deps.partition.ex
@@ -89,7 +89,7 @@ defmodule Mix.Tasks.Deps.Partition do
89
clients =
90
Enum.map(1..count//1, fn _ ->
91
with {:ok, client} <- :gen_tcp.accept(socket, 15000),
92
- {:ok, message} <- :gen_tcp.recv(socket, 0, 15000) do
+ {:ok, message} <- :gen_tcp.recv(client, 0, 15000) do
93
:inet.setopts(client, active: true)
94
index = message |> String.trim() |> String.to_integer()
95
%{port: Map.fetch!(ports, index), index: index, socket: client}
0 commit comments