Kaynağa Gözat

Simplify check for empty list

pull/3/head
Tuncer Ayaz 13 yıl önce
ebeveyn
işleme
4fe651cb5b
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

@ -389,7 +389,7 @@ plugin_modules(_Config, FoundModules, []) ->
plugin_modules(Config, FoundModules, MissingModules) ->
{Loaded, NotLoaded} = load_plugin_modules(Config, MissingModules),
AllViablePlugins = FoundModules ++ Loaded,
case length(NotLoaded) > 0 of
case NotLoaded =/= [] of
true ->
%% NB: we continue to ignore this situation, as did the original code
?WARN("Missing plugins: ~p\n", NotLoaded);

Yükleniyor…
İptal
Kaydet