From 400853033e849cff05318a27df1e0f9cd9868a77 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Fri, 17 Apr 2015 12:01:16 -0500 Subject: replcae ensure_started bc it doens't exist in R15, with load --- src/rebar_prv_report.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/rebar_prv_report.erl b/src/rebar_prv_report.erl index 45bc0b0..e052998 100644 --- a/src/rebar_prv_report.erl +++ b/src/rebar_prv_report.erl @@ -43,7 +43,7 @@ do(State) -> %% Show app versions (including rebar3) {ok, Vsn} = application:get_key(rebar, vsn), {ok, Apps} = application:get_key(rebar, applications), - [application:ensure_started(App) || App <- Apps], + [application:load(App) || App <- Apps], Vsns = [io_lib:format("~p: ~s~n", [App, AVsn]) || App <- lists:sort(Apps), {ok, AVsn} <- [application:get_key(App, vsn)]], @@ -101,4 +101,3 @@ time_to_string({{Y,M,D},{H,Min,S}}) -> parse_task(Str) -> hd(re:split(Str, " ")). - -- cgit v1.1