mirror of
https://github.com/correl/rebar.git
synced 2024-11-15 03:00:18 +00:00
Simplify check for empty list
This commit is contained in:
parent
3b58935b86
commit
4fe651cb5b
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue