diff options
-rw-r--r-- | rebar.config | 2 | ||||
-rw-r--r-- | src/rebar_prv_install_deps.erl | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/rebar.config b/rebar.config index 3a035f1..296713a 100644 --- a/rebar.config +++ b/rebar.config @@ -23,7 +23,7 @@ {branch, "master"}}}, {providers, "", {git, "https://github.com/tsloughter/providers.git", - {branch, "master"}}}, + {tag, "v1.0.0"}}}, {erlydtl, ".*", {git, "https://github.com/erlydtl/erlydtl.git", {tag, "0.9.4"}}}, 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 |