summaryrefslogtreecommitdiff
path: root/src/rebar_prv_version.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_version.erl')
-rw-r--r--src/rebar_prv_version.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_version.erl b/src/rebar_prv_version.erl
index 6969e62..e88bf39 100644
--- a/src/rebar_prv_version.erl
+++ b/src/rebar_prv_version.erl
@@ -30,7 +30,7 @@ init(State) ->
{ok, State1}.
--spec do(rebar_state:t()) -> {ok, rebar_state:t()}.
+-spec do(rebar_state:t()) -> {ok, rebar_state:t()} | {error, string()}.
do(State) ->
rebar3:version(),
{ok, State}.