diff options
author | Jamu Kakar <jkakar@kakar.ca> | 2019-06-28 08:09:45 -0700 |
---|---|---|
committer | Jamu Kakar <jkakar@kakar.ca> | 2019-06-28 08:09:45 -0700 |
commit | 68985ea883f93e8f3c5a6a0b3d4bc49497bf9177 (patch) | |
tree | 21fddfc1791848440a3111326c0adc276a05d7d8 | |
parent | 1aa2a26a341da05ff9420ac365b967b8be2d84a7 (diff) |
Use better warning message.
-rw-r--r-- | src/rebar_prv_dialyzer.erl | 4 |
1 files changed, 2 insertions, 2 deletions
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) -> |