Browse Source

don't traverse into subdirectories looking for beams

pull/244/head
Tristan Sloughter 10 years ago
parent
commit
794b985b1b
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/rebar_utils.erl

+ 1
- 2
src/rebar_utils.erl View File

@ -382,8 +382,7 @@ erl_to_mod(Filename) ->
list_to_atom(filename:rootname(filename:basename(Filename))).
beams(Dir) ->
filelib:fold_files(Dir, ".*\.beam\$", true,
fun(F, Acc) -> [F | Acc] end, []).
filelib:wildcard(filename:join(Dir, "*.beam")).
-spec abort() -> no_return().
abort() ->

Loading…
Cancel
Save