Selaa lähdekoodia

Fix warning: access the right record field

Tuncer Ayaz 14 vuotta sitten
vanhempi
commit
778d4350b3
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      src/rebar_erlc_compiler.erl

+ 1
- 1
src/rebar_erlc_compiler.erl Näytä tiedosto

@ -253,7 +253,7 @@ compile_xrl_yrl(Source, Target, Config, Opts, Mod) ->
{ok, _, []} -> {ok, _, []} ->
ok; ok;
{ok, _, _Warnings} -> {ok, _, _Warnings} ->
case lists:member(fail_on_warnings, Config) of
case lists:member(fail_on_warnings, Config#config.opts) of
true -> true ->
?FAIL; ?FAIL;
false -> false ->

Ladataan…
Peruuta
Tallenna