Explorar el Código

Use lists:member/2 to check xref results

pull/3/head
Amit Kapoor hace 13 años
cometido por Tuncer Ayaz
padre
commit
63f1b1d9d5
Se han modificado 1 ficheros con 3 adiciones y 4 borrados
  1. +3
    -4
      src/rebar_xref.erl

+ 3
- 4
src/rebar_xref.erl Ver fichero

@ -88,12 +88,11 @@ xref(Config, _) ->
%% Stop xref
stopped = xref:stop(xref),
case lists:all(fun(NoWarn) -> NoWarn end,
[ExportsNoWarn, UndefNoWarn, QueryNoWarn]) of
case lists:member(false, [ExportsNoWarn, UndefNoWarn, QueryNoWarn]) of
true ->
ok;
?FAIL;
false ->
?FAIL
ok
end.
%% ===================================================================

Cargando…
Cancelar
Guardar