summaryrefslogtreecommitdiff
path: root/src/rebar_prv_tar.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-11-09 18:29:38 -0600
committerTristan Sloughter <t@crashfast.com>2014-11-09 18:29:38 -0600
commit79b1f2324006307e581ce19b24faf3b2edc5f8a9 (patch)
treeacc4fcd12899f7eecffb4493df7b12830de20cbf /src/rebar_prv_tar.erl
parent8d02c0767ed8417d71e2789e65039d30c5375bd0 (diff)
move back to using format_error/1
Diffstat (limited to 'src/rebar_prv_tar.erl')
-rw-r--r--src/rebar_prv_tar.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_prv_tar.erl b/src/rebar_prv_tar.erl
index 184a1b4..c87782e 100644
--- a/src/rebar_prv_tar.erl
+++ b/src/rebar_prv_tar.erl
@@ -7,7 +7,7 @@
-export([init/1,
do/1,
- format_error/2]).
+ format_error/1]).
-include("rebar.hrl").
@@ -43,6 +43,6 @@ do(State) ->
end,
{ok, State}.
--spec format_error(any(), rebar_state:t()) -> {iolist(), rebar_state:t()}.
-format_error(Reason, State) ->
- {io_lib:format("~p", [Reason]), State}.
+-spec format_error(any()) -> iolist().
+format_error(Reason) ->
+ io_lib:format("~p", [Reason]).