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 ae61028 commit 3dc9c1eCopy full SHA for 3dc9c1e
apps/remote_control/lib/mix/tasks/namespace/transform/beams.ex
@@ -21,9 +21,8 @@ defmodule Mix.Tasks.Namespace.Transform.Beams do
21
me = self()
22
23
spawn(fn ->
24
- Task.async_stream(all_beams, fn beam_file ->
25
- apply_and_update_progress(beam_file, me)
26
- end)
+ all_beams
+ |> Task.async_stream(&apply_and_update_progress(&1, me))
27
|> Stream.run()
28
end)
29
0 commit comments