From 59ecb2028d577ac7deac2f63a16b143ad238ae64 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Wed, 29 Sep 2010 23:43:54 +0200 Subject: Fix dialyzer warning: io:format/2 -> ok --- src/rebar_dialyzer.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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)]) -- cgit v1.1