diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-04-17 12:01:16 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-04-17 12:16:37 -0500 |
commit | 400853033e849cff05318a27df1e0f9cd9868a77 (patch) | |
tree | 473bd543a33fc16907e59df950edce0e5f486897 | |
parent | a917dc14dfba8f9aba7c104705cca6bf49c45ce9 (diff) |
replcae ensure_started bc it doens't exist in R15, with load
-rw-r--r-- | src/rebar_prv_report.erl | 3 |
1 files changed, 1 insertions, 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, " ")). - |