summaryrefslogtreecommitdiff
path: root/src/rebar_core.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-08-25 16:13:16 +0200
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-08-29 17:27:45 +0200
commit4fe651cb5b973fa555b62213d74f2caf23bb306e (patch)
tree0adfb182a11d8868548812ea49161f9f39ff54bc /src/rebar_core.erl
parent3b58935b8621a876afad2f649bbd00a12f7ab03f (diff)
Simplify check for empty list
Diffstat (limited to 'src/rebar_core.erl')
-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);