fix backwards match for debugging print

This commit is contained in:
Bob Ippolito 2010-05-11 12:07:19 -07:00
parent 92be7a38bf
commit 66f44c6362

View file

@ -333,7 +333,7 @@ choose_module_set([{Fn, Modules} | Rest], Dir) ->
plugin_modules(Config) -> plugin_modules(Config) ->
Modules = lists:flatten(rebar_config:get_all(Config, rebar_plugins)), Modules = lists:flatten(rebar_config:get_all(Config, rebar_plugins)),
FoundModules = [M || M <- Modules, code:which(M) =/= non_existing], FoundModules = [M || M <- Modules, code:which(M) =/= non_existing],
case (Modules =/= FoundModules) of case (Modules =:= FoundModules) of
true -> true ->
ok; ok;
false -> false ->