summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2019-02-08 10:15:53 -0500
committerGitHub <noreply@github.com>2019-02-08 10:15:53 -0500
commit07f5e3d2d2481439dd7f3f2447819c7be00b1365 (patch)
treeafdc9a27d2ff7aa26aedd66d07a09c0796c8004b
parent908694f17fef608f81c9459bbd55f53addeacba7 (diff)
parentee4ecac27cc9273becf0f3f7e5309e3ebb79dbcb (diff)
Merge pull request #2015 from ankhers/include_version_in_plugin_list
Include version in plugin list
-rw-r--r--THANKS1
-rw-r--r--src/rebar_prv_plugins.erl4
2 files changed, 3 insertions, 2 deletions
diff --git a/THANKS b/THANKS
index b9bfe3d..095a48b 100644
--- a/THANKS
+++ b/THANKS
@@ -142,3 +142,4 @@ Andrew McRobb
Drew Varner
Niklas Johansson
Bryan Paxton
+Justin Wood
diff --git a/src/rebar_prv_plugins.erl b/src/rebar_prv_plugins.erl
index fba5da0..00457a7 100644
--- a/src/rebar_prv_plugins.erl
+++ b/src/rebar_prv_plugins.erl
@@ -66,8 +66,8 @@ display_plugins(Apps, Plugins) ->
is_tuple(Plugin) -> rebar_utils:to_binary(element(1, Plugin))
end,
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 ->
?DEBUG("Unable to find plugin ~ts", [Name])
end