diff options
Diffstat (limited to 'src/rebar_prv_shell.erl')
-rw-r--r-- | src/rebar_prv_shell.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_prv_shell.erl b/src/rebar_prv_shell.erl index 932cad7..9709807 100644 --- a/src/rebar_prv_shell.erl +++ b/src/rebar_prv_shell.erl @@ -32,7 +32,7 @@ -export([init/1, do/1, - format_error/2]). + format_error/1]). -include("rebar.hrl"). @@ -60,9 +60,9 @@ do(Config) -> shell(), {ok, Config}. --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]). %% NOTE: %% this is an attempt to replicate `erl -pa ./ebin -pa deps/*/ebin`. it is |