summaryrefslogtreecommitdiff
path: root/src/rebar_dialyzer.erl
diff options
context:
space:
mode:
authorKostis Sagonas <kostis@cs.ntua.gr>2010-10-26 00:38:51 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-10-26 00:38:51 +0200
commit7dc76d578ece73a0ae43d63c733b3c8778c46342 (patch)
treeb83f179e16e625f72cf36cc0ab0710e236f29f2e /src/rebar_dialyzer.erl
parent1a577fcd433a502fb0e458ea2db96f5b5bae401c (diff)
Tidier improvements
Diffstat (limited to 'src/rebar_dialyzer.erl')
-rw-r--r--src/rebar_dialyzer.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_dialyzer.erl b/src/rebar_dialyzer.erl
index d2b89aa..3fe9b7e 100644
--- a/src/rebar_dialyzer.erl
+++ b/src/rebar_dialyzer.erl
@@ -142,8 +142,8 @@ dialyze(Config, File) ->
%% @spec app_dirs(Apps::[atom()]) -> [string()]
-spec app_dirs(Apps::[atom()]) -> [string()].
app_dirs(Apps) ->
- [filename:join(Path, "ebin") ||
- Path <- lists:map(fun(App) -> code:lib_dir(App) end, Apps), erlang:is_list(Path)].
+ [filename:join(Path, "ebin")
+ || Path <- [code:lib_dir(App) || App <- Apps], erlang:is_list(Path)].
%% @doc Render the warnings on the console.
%% @spec output_warnings(Warnings::[warning()]) -> 'ok'