Parcourir la source

Fix dialyzer warning: io:format/2 -> ok

Tuncer Ayaz il y a 14 ans
Parent
révision
59ecb2028d
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      src/rebar_dialyzer.erl

+ 2
- 2
src/rebar_dialyzer.erl Voir le fichier

@ -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)])

Chargement…
Annuler
Enregistrer