diff --git a/src/rebar_dialyzer.erl b/src/rebar_dialyzer.erl index afd38b2..2056151 100644 --- a/src/rebar_dialyzer.erl +++ b/src/rebar_dialyzer.erl @@ -127,8 +127,8 @@ app_dirs(Apps) -> Path <- lists:map(fun(App) -> code:lib_dir(App) end, Apps), erlang:is_list(Path)]. %% @doc Render the warnings on the console. -%% @spec output_warnings(Warnings::[warning()]) -> none() --spec(output_warnings(Warnings::[warning()]) -> none()). +%% @spec output_warnings(Warnings::[warning()]) -> 'ok' +-spec(output_warnings(Warnings::[warning()]) -> 'ok'). output_warnings(Warnings) -> lists:foreach(fun(Warning) -> ?CONSOLE("~s", [dialyzer:format_warning(Warning)])