summaryrefslogtreecommitdiff
path: root/src/rebar_prv_install_deps.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_prv_install_deps.erl')
-rw-r--r--src/rebar_prv_install_deps.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl
index 00ef9c5..1ddfdf5 100644
--- a/src/rebar_prv_install_deps.erl
+++ b/src/rebar_prv_install_deps.erl
@@ -33,6 +33,7 @@
format_error/1]).
-include("rebar.hrl").
+-include_lib("providers/include/providers.hrl").
-export([handle_deps/2,
handle_deps/3]).
@@ -86,7 +87,7 @@ do(State) ->
lists:dropwhile(fun rebar_app_info:valid/1
, Sort -- ProjectApps))};
{error, {cycles, Cycles}} ->
- {error, {?MODULE, {cycles, Cycles}}};
+ ?PRV_ERROR({cycles, Cycles});
{error, Error} ->
{error, Error}
end