Browse Source

Remove deprecated hex field maintainers (#1987)

- removed deprecated maintainers field from config template in
  rebar_prv_packages
pull/1988/head
Bryan Paxton 6 years ago
committed by Tristan Sloughter
parent
commit
f2bfd2925c
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      src/rebar_prv_packages.erl

+ 1
- 3
src/rebar_prv_packages.erl View File

@ -72,16 +72,14 @@ print_packages({RepoName, {ok, #{<<"name">> := Name,
Description = maps:get(<<"description">>, Meta, ""),
Licenses = join(maps:get(<<"licenses">>, Meta, []), <<", ">>),
Links = join_map(maps:get(<<"links">>, Meta, []), <<"\n ">>),
Maintainers = join(maps:get(<<"maintainers">>, Meta, []), <<", ">>),
Versions = [V || #{<<"version">> := V} <- Releases],
VsnStr = join(Versions, <<", ">>),
?CONSOLE("~ts:~n"
" Name: ~ts~n"
" Description: ~ts~n"
" Licenses: ~ts~n"
" Maintainers: ~ts~n"
" Links:~n ~ts~n"
" Versions: ~ts~n", [RepoName, Name, Description, Licenses, Maintainers, Links, VsnStr]);
" Versions: ~ts~n", [RepoName, Name, Description, Licenses, Links, VsnStr]);
print_packages(_) ->
ok.

Loading…
Cancel
Save