mirror of
https://github.com/correl/rebar.git
synced 2024-12-18 03:00:17 +00:00
Fix dialyzer warning: io:format/2 -> ok
This commit is contained in:
parent
820012410a
commit
59ecb2028d
1 changed files with 2 additions and 2 deletions
|
@ -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)])
|
||||
|
|
Loading…
Reference in a new issue