diff --git a/src/rebar_core.erl b/src/rebar_core.erl index c5a3dc6..e55d838 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -171,10 +171,10 @@ apply_commands([Command | Rest], Modules, Config, ModuleFile) -> ok -> apply_commands(Rest, Modules, Config, ModuleFile); {error, failed} -> - error; + ?FAIL; Other -> ?ERROR("~p failed while processing ~s: ~p", [Command, Dir, Other]), - error + ?FAIL end end.