mirror of
https://github.com/correl/rebar.git
synced 2025-04-07 13:01:08 -09:00
Simplify and fix check if enter/leaving should be printed
This commit is contained in:
parent
2daf7cae27
commit
15d1c275f8
1 changed files with 1 additions and 6 deletions
|
@ -104,12 +104,7 @@ process_dir(Dir, ParentConfig, Command, DirSet) ->
|
||||||
|
|
||||||
true ->
|
true ->
|
||||||
AbsDir = filename:absname(Dir),
|
AbsDir = filename:absname(Dir),
|
||||||
ShouldPrintDir = case {is_skip_dir(Dir), processing_base_dir(Dir)} of
|
ShouldPrintDir = not (is_skip_dir(Dir) orelse processing_base_dir(Dir)),
|
||||||
{false, false} ->
|
|
||||||
true;
|
|
||||||
_ ->
|
|
||||||
false
|
|
||||||
end,
|
|
||||||
|
|
||||||
case ShouldPrintDir of
|
case ShouldPrintDir of
|
||||||
true ->
|
true ->
|
||||||
|
|
Loading…
Add table
Reference in a new issue