From 68985ea883f93e8f3c5a6a0b3d4bc49497bf9177 Mon Sep 17 00:00:00 2001 From: Jamu Kakar Date: Fri, 28 Jun 2019 08:09:45 -0700 Subject: Use better warning message. --- src/rebar_prv_dialyzer.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/rebar_prv_dialyzer.erl b/src/rebar_prv_dialyzer.erl index 500b591..f16b795 100644 --- a/src/rebar_prv_dialyzer.erl +++ b/src/rebar_prv_dialyzer.erl @@ -478,7 +478,7 @@ run_dialyzer(State, Opts, Output) -> true -> ok; false -> - ?WARN("Add {erl_opts, [debug_info]} to rebar.config if Dialyzer fails to load Core Erlang.", []), + ?WARN("Add debug_info to compiler options (erl_opts) if Dialyzer fails to load Core Erlang.", []), ok end, %% dialyzer may return callgraph warnings when get_warnings is false @@ -548,7 +548,7 @@ get_config(State, Key, Default) -> debug_info(State) -> Config = rebar_state:get(State, erl_opts, []), - proplists:get_value(debug_info, Config, false). + proplists:get_value(debug_info, Config, true). -spec collect_nested_dependent_apps([atom()]) -> [atom()]. collect_nested_dependent_apps(RootApps) -> -- cgit v1.1