Skip to content

Commit

Permalink
var naming simplified inside for-expr
Browse files Browse the repository at this point in the history
  • Loading branch information
wkhere committed Jan 18, 2016
1 parent beb6495 commit 55221a8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/runner.ex
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ defmodule Reprise.Runner do
@spec beam_modules([beam]) :: [{beam, module}]
def beam_modules(beams \\ __MODULE__.beams) do
beamset = beams |> Enum.into(HashSet.new)
for {m,f0} <- :code.all_loaded,
is_list(f0),
f = Path.expand(f0),
for {m,f} <- :code.all_loaded,
is_list(f),
f = Path.expand(f),
Set.member?(beamset, f),
do: {f,m}
end
Expand Down

0 comments on commit 55221a8

Please sign in to comment.