Simplify and fix check if enter/leaving should be printed

This commit is contained in:
Tuncer Ayaz 2012-05-18 20:14:33 +02:00
parent 2daf7cae27
commit 15d1c275f8

View file

@ -104,12 +104,7 @@ process_dir(Dir, ParentConfig, Command, DirSet) ->
true ->
AbsDir = filename:absname(Dir),
ShouldPrintDir = case {is_skip_dir(Dir), processing_base_dir(Dir)} of
{false, false} ->
true;
_ ->
false
end,
ShouldPrintDir = not (is_skip_dir(Dir) orelse processing_base_dir(Dir)),
case ShouldPrintDir of
true ->