summaryrefslogtreecommitdiff
path: root/src/rebar_prv_shell.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-27 14:12:11 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-27 14:12:11 -0500
commite9a3396e56679a11ac1caa3b47f1f196f0307d72 (patch)
tree0fca145d934313ebfdc45565a78ed9d3ff99f948 /src/rebar_prv_shell.erl
parent1549b11b88dca340a1e471775d8387ca94e377e5 (diff)
return error messages from providers
Diffstat (limited to 'src/rebar_prv_shell.erl')
-rw-r--r--src/rebar_prv_shell.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_shell.erl b/src/rebar_prv_shell.erl
index bf37ddf..4bd0886 100644
--- a/src/rebar_prv_shell.erl
+++ b/src/rebar_prv_shell.erl
@@ -54,7 +54,7 @@ init(State) ->
opts = []}),
{ok, State1}.
--spec do(rebar_state:t()) -> {ok, rebar_state:t()}.
+-spec do(rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}.
do(Config) ->
shell(),
{ok, Config}.