summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTim Watson <watson.timothy@gmail.com>2011-09-20 11:57:56 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-09-20 13:15:03 +0200
commit36a40d33514bc05935ad5c5e9fd1b3521a6bd352 (patch)
tree35d6dac8ae29331b752fd340ea8f04c97e48ad7a /src
parentfa1bbc67027b3382ccfe5efc791e8105c52c1d64 (diff)
Fix missing plugin warnings
This patch fixes the warning logging when the number of missing plugins is greater than one. The current code only works by accident, when a single plugin is all that is missing.
Diffstat (limited to 'src')
-rw-r--r--src/rebar_core.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl
index 27d9223..5030f06 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -392,7 +392,7 @@ plugin_modules(Config, FoundModules, MissingModules) ->
case NotLoaded =/= [] of
true ->
%% NB: we continue to ignore this situation, as did the original code
- ?WARN("Missing plugins: ~p\n", NotLoaded);
+ ?WARN("Missing plugins: ~p\n", [NotLoaded]);
false ->
?DEBUG("Loaded plugins: ~p~n", [AllViablePlugins]),
ok