Browse Source

Add plugin version to the output of rebar3 plugin list

pull/2015/head
Justin Wood 6 years ago
parent
commit
8a4bfa3ac5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/rebar_prv_plugins.erl

+ 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