summaryrefslogtreecommitdiff
path: root/src/rebar_provider.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rebar_provider.erl')
-rw-r--r--src/rebar_provider.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_provider.erl b/src/rebar_provider.erl
index 8a3d610..872c2e1 100644
--- a/src/rebar_provider.erl
+++ b/src/rebar_provider.erl
@@ -18,7 +18,7 @@
%%% Types
%%%===================================================================
--opaque t() :: record(provider).
+-type t() :: record(provider).
-type provider_name() :: atom().
@@ -156,6 +156,6 @@ reorder_providers(OProviderList) ->
case rebar_topo:sort(OProviderList) of
{ok, ProviderList} ->
ProviderList;
- {cycle, _} ->
+ {error, {cycle, _}} ->
?ERROR("There was a cycle in the provider list. Unable to complete build!", [])
end.