Browse Source

Merge pull request #2015 from ankhers/include_version_in_plugin_list

Include version in plugin list
pull/2018/head
Fred Hebert 6 years ago
committed by GitHub
parent
commit
07f5e3d2d2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions
  1. +1
    -0
      THANKS
  2. +2
    -2
      src/rebar_prv_plugins.erl

+ 1
- 0
THANKS View File

@ -142,3 +142,4 @@ Andrew McRobb
Drew Varner Drew Varner
Niklas Johansson Niklas Johansson
Bryan Paxton Bryan Paxton
Justin Wood

+ 2
- 2
src/rebar_prv_plugins.erl View File

@ -66,8 +66,8 @@ display_plugins(Apps, Plugins) ->
is_tuple(Plugin) -> rebar_utils:to_binary(element(1, Plugin)) is_tuple(Plugin) -> rebar_utils:to_binary(element(1, Plugin))
end, end,
case rebar_app_utils:find(Name, Apps) of case rebar_app_utils:find(Name, Apps) of
{ok, _App} ->
?CONSOLE("~ts", [Name]);
{ok, App} ->
?CONSOLE("~ts (~s)", [Name, rebar_app_info:original_vsn(App)]);
error -> error ->
?DEBUG("Unable to find plugin ~ts", [Name]) ?DEBUG("Unable to find plugin ~ts", [Name])
end end

Loading…
Cancel
Save