diff options
author | Tristan Sloughter <t@crashfast.com> | 2014-11-09 18:29:38 -0600 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2014-11-09 18:29:38 -0600 |
commit | 79b1f2324006307e581ce19b24faf3b2edc5f8a9 (patch) | |
tree | acc4fcd12899f7eecffb4493df7b12830de20cbf /src/rebar_prv_lock.erl | |
parent | 8d02c0767ed8417d71e2789e65039d30c5375bd0 (diff) |
move back to using format_error/1
Diffstat (limited to 'src/rebar_prv_lock.erl')
-rw-r--r-- | src/rebar_prv_lock.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_prv_lock.erl b/src/rebar_prv_lock.erl index 32c5f1a..4ada1ef 100644 --- a/src/rebar_prv_lock.erl +++ b/src/rebar_prv_lock.erl @@ -4,7 +4,7 @@ -export([init/1, do/1, - format_error/2]). + format_error/1]). -include("rebar.hrl"). @@ -55,9 +55,9 @@ do(State) -> {ok, State} end. --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]). info(_) -> "". |