summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2010-09-29 23:43:54 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2010-09-29 23:43:54 +0200
commit59ecb2028d577ac7deac2f63a16b143ad238ae64 (patch)
tree119b4b6aafaa56edc1a5db50ff437f8aebdf4f9d /src
parent820012410addc6128d964d083dcd9b972a5c76f4 (diff)
Fix dialyzer warning: io:format/2 -> ok
Diffstat (limited to 'src')
-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 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)])