diff options
Diffstat (limited to 'src/rebar_dialyzer.erl')
-rw-r--r-- | src/rebar_dialyzer.erl | 4 |
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' |