summaryrefslogtreecommitdiff
path: root/src/rebar_provider.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-21 11:32:49 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-21 11:32:49 -0500
commit1854276fb54b93654c0b2a300978f6e97973c857 (patch)
tree95a28ff7715427d17436a29c263482efbbddfa44 /src/rebar_provider.erl
parent6356112cbbb32b09dd2f94ea856c3cbd32b1c085 (diff)
down to last 2 dialyzer errors
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.