mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +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, _, _Warnings} ->
|
||||
case lists:member(fail_on_warnings, Config) of
|
||||
case lists:member(fail_on_warnings, Config#config.opts) of
|
||||
true ->
|
||||
?FAIL;
|
||||
false ->
|
||||
|
|
Loading…
Reference in a new issue