diff options
author | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-05-18 20:14:33 +0200 |
---|---|---|
committer | Tuncer Ayaz <tuncer.ayaz@gmail.com> | 2012-05-18 20:14:33 +0200 |
commit | 15d1c275f88ff623ee9dd7665ffb0b3e2c030981 (patch) | |
tree | 1f3d2cbd5f859d82176fc16696ea96f7ba245178 | |
parent | 2daf7cae2798a0c5e502e55153d4f1dfa8f945ac (diff) |
Simplify and fix check if enter/leaving should be printed
-rw-r--r-- | src/rebar_core.erl | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/rebar_core.erl b/src/rebar_core.erl index 1d5599a..7828c66 100644 --- a/src/rebar_core.erl +++ b/src/rebar_core.erl @@ -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 -> |