Explorar el Código

don't traverse into subdirectories looking for beams

pull/244/head
Tristan Sloughter hace 10 años
padre
commit
794b985b1b
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. +1
    -2
      src/rebar_utils.erl

+ 1
- 2
src/rebar_utils.erl Ver fichero

@ -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() ->

Cargando…
Cancelar
Guardar