summaryrefslogtreecommitdiff
path: root/src/rebar_erlc_compiler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_erlc_compiler.erl')
-rw-r--r--src/rebar_erlc_compiler.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index b3b5305..23b8963 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -265,7 +265,7 @@ internal_erl_compile(Source, Config, Outdir, ErlOpts) ->
{ok, rebar_base_compiler:format_warnings(Source, Ws)};
{error, Es, Ws} ->
{error, rebar_base_compiler:format_errors(Source, Es),
- rebar_base_compiler:format_warnings(Source, Ws)}
+ rebar_base_compiler:format_warnings(Source, Ws, Opts)}
end;
false ->
skipped
@@ -313,7 +313,7 @@ compile_xrl_yrl(Source, Target, Opts, Mod) ->
{ok, rebar_base_compiler:format_warnings(Source, Ws)};
{error, Es, Ws} ->
{error, rebar_base_compiler:format_errors(Source, Es),
- rebar_base_compiler:format_warnings(Source, Ws)}
+ rebar_base_compiler:format_warnings(Source, Ws, Opts)}
end;
false ->
skipped