From 15d1c275f88ff623ee9dd7665ffb0b3e2c030981 Mon Sep 17 00:00:00 2001 From: Tuncer Ayaz Date: Fri, 18 May 2012 20:14:33 +0200 Subject: Simplify and fix check if enter/leaving should be printed --- src/rebar_core.erl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src') 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 -> -- cgit v1.1