Skip to content

Commit

Permalink
Merge pull request #358 from bitwalker/master
Browse files Browse the repository at this point in the history
Remove unnecessary `compile_source` option from `escript:extract/2`.
  • Loading branch information
tsloughter committed Jun 30, 2015
2 parents 0e1880f + f7540e3 commit 27f2aef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rlx_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ escript_files() ->
end.

escript_foldl(Fun, Acc, File) ->
case escript:extract(File, [compile_source]) of
case escript:extract(File, []) of
{ok, [_Shebang, _Comment, _EmuArgs, Body]} ->
case Body of
{source, BeamCode} ->
Expand Down

0 comments on commit 27f2aef

Please sign in to comment.