diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-09-29 23:43:54 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2010-09-29 23:43:54 +0200 |
commit | 59ecb2028d577ac7deac2f63a16b143ad238ae64 (patch) | |
tree | 119b4b6aafaa56edc1a5db50ff437f8aebdf4f9d | |
parent | 820012410addc6128d964d083dcd9b972a5c76f4 (diff) |
Fix dialyzer warning: io:format/2 -> ok
-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 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)]) |