From 36a40d33514bc05935ad5c5e9fd1b3521a6bd352 Mon Sep 17 00:00:00 2001 From: Tim Watson Date: Tue, 20 Sep 2011 11:57:56 +0100 Subject: [PATCH] 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. --- src/rebar_core.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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