Kaynağa Gözat

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.
pull/3/head
Tim Watson 13 yıl önce
işlemeyi yapan: Tuncer Ayaz
ebeveyn
işleme
36a40d3351
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. +1
    -1
      src/rebar_core.erl

+ 1
- 1
src/rebar_core.erl Dosyayı Görüntüle

@ -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

Yükleniyor…
İptal
Kaydet