summaryrefslogtreecommitdiff
path: root/src/rebar_abnfc_compiler.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_abnfc_compiler.erl')
-rw-r--r--src/rebar_abnfc_compiler.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_abnfc_compiler.erl b/src/rebar_abnfc_compiler.erl
index bfb9a35..db9e029 100644
--- a/src/rebar_abnfc_compiler.erl
+++ b/src/rebar_abnfc_compiler.erl
@@ -84,7 +84,7 @@ abnfc_is_present() ->
compile_abnfc(Source, _Target, Config) ->
case abnfc_is_present() of
false ->
- ?CONSOLE(
+ ?ERROR(
<<"~n===============================================~n"
" You need to install abnfc to compile ABNF grammars~n"
" Download the latest tarball release from github~n"
@@ -102,8 +102,8 @@ compile_abnfc(Source, _Target, Config) ->
case abnfc:file(Source, Opts) of
ok -> ok;
Error ->
- ?CONSOLE("Compiling grammar ~s failed:~n ~p~n",
- [Source, Error]),
+ ?ERROR("Compiling grammar ~s failed:~n ~p~n",
+ [Source, Error]),
?FAIL
end
end.