From 501b9b42dfa4c06bc1d537e810f2e4d730e5d8f7 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 14 Feb 2015 14:12:52 -0600 Subject: print error message suggesting to run rebar3 update if missing package index --- src/rebar_packages.erl | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.1