summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_dialyzer.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit_dialyzer.erl b/src/rabbit_dialyzer.erl
index cc3aaf128b..5664f1daf5 100644
--- a/src/rabbit_dialyzer.erl
+++ b/src/rabbit_dialyzer.erl
@@ -88,6 +88,5 @@ print_warnings(DialyzerWarnings) ->
ok.
otp_apps_dependencies_paths() ->
- lists:map(
- fun(App) -> code:lib_dir(App, ebin) end,
- [stdlib, kernel, mnesia, os_mon, ssl, eunit, tools, sasl]).
+ [code:lib_dir(App, ebin) ||
+ App <- [stdlib, kernel, mnesia, os_mon, ssl, eunit, tools, sasl]].