summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-02-14 14:12:52 -0600
committerTristan Sloughter <t@crashfast.com>2015-02-17 10:16:55 -0600
commit501b9b42dfa4c06bc1d537e810f2e4d730e5d8f7 (patch)
tree14a08750177ecf866353583dd8d7549f0ba30864
parent9fbfeaa74df4bfec081a9110ecbec0a9a734524b (diff)
print error message suggesting to run rebar3 update if missing package index
-rw-r--r--src/rebar_packages.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rebar_packages.erl b/src/rebar_packages.erl
index 5400544..38dfbbf 100644
--- a/src/rebar_packages.erl
+++ b/src/rebar_packages.erl
@@ -34,5 +34,6 @@ get_packages(State) ->
{dict:new(), digraph:new()}
end;
false ->
+ ?ERROR("Bad packages index, try to fix with `rebar3 update`", []),
{dict:new(), digraph:new()}
end.