diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-10-01 13:41:55 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-10-01 13:41:55 +0200 |
commit | 778d4350b375370ca340038ff602a34ffb30cad9 (patch) | |
tree | c2a87ee200c4d2ef2804bbc5a10e498aa9966ef1 | |
parent | 171242558829ddbea35d5649cbe14f99dc9537e9 (diff) |
Fix warning: access the right record field
-rw-r--r-- | src/rebar_erlc_compiler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index 06070c9..89c0707 100644 --- a/src/rebar_erlc_compiler.erl +++ b/src/rebar_erlc_compiler.erl @@ -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 -> |