mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 11:06:20 +00:00
Fix warning: access the right record field
This commit is contained in:
parent
1712425588
commit
778d4350b3
1 changed files with 1 additions and 1 deletions
|
@ -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 ->
|
||||||
|
|
Loading…
Reference in a new issue