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 beb6495 commit 55221a8Copy full SHA for 55221a8
lib/runner.ex
@@ -40,9 +40,9 @@ defmodule Reprise.Runner do
40
@spec beam_modules([beam]) :: [{beam, module}]
41
def beam_modules(beams \\ __MODULE__.beams) do
42
beamset = beams |> Enum.into(HashSet.new)
43
- for {m,f0} <- :code.all_loaded,
44
- is_list(f0),
45
- f = Path.expand(f0),
+ for {m,f} <- :code.all_loaded,
+ is_list(f),
+ f = Path.expand(f),
46
Set.member?(beamset, f),
47
do: {f,m}
48
end
0 commit comments