summaryrefslogtreecommitdiff
path: root/src/rebar_prv_test_deps.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_test_deps.erl')
-rw-r--r--src/rebar_prv_test_deps.erl7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rebar_prv_test_deps.erl b/src/rebar_prv_test_deps.erl
index b4c7250..081b210 100644
--- a/src/rebar_prv_test_deps.erl
+++ b/src/rebar_prv_test_deps.erl
@@ -3,7 +3,8 @@
-behaviour(provider).
-export([init/1,
- do/1]).
+ do/1,
+ format_error/2]).
-include("rebar.hrl").
@@ -53,6 +54,10 @@ do(State) ->
{error, Error}
end.
+-spec format_error(any(), rebar_state:t()) -> {iolist(), rebar_state:t()}.
+format_error(Reason, State) ->
+ {io_lib:format("~p", [Reason]), State}.
+
%% ===================================================================
%% Internal functions
%% ===================================================================