summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 f30eb35..7740ca6 100644
--- a/src/rebar_core.erl
+++ b/src/rebar_core.erl
@@ -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);