From 1f69f9c58551a1ecae0151be22df05b42e8692dc Mon Sep 17 00:00:00 2001 From: Hixie Date: Thu, 5 Nov 2015 15:36:09 -0800 Subject: [PATCH] Exclude .# files from skyanalyzer Emacs uses these as lock files and skyanalyzer was often getting confused trying to analyze them. --- engine/src/flutter/sky/tools/skyanalyzer | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/src/flutter/sky/tools/skyanalyzer b/engine/src/flutter/sky/tools/skyanalyzer index 5c81f42e105..2bb3d32d0cb 100755 --- a/engine/src/flutter/sky/tools/skyanalyzer +++ b/engine/src/flutter/sky/tools/skyanalyzer @@ -70,10 +70,10 @@ def main(): app_paths = [] for root, dirs, files in os.walk(SKY_UNIT_TESTS): app_paths.extend(os.path.join(root, f) - for f in files if f.endswith(".dart")) + for f in files if f.endswith(".dart") and not '.#' in f) for root, dirs, files in os.walk(SKY_EXAMPLES): app_paths.extend(os.path.join(root, f) - for f in files if f.endswith(".dart")) + for f in files if f.endswith(".dart") and not '.#' in f) if '.pub' in dirs: dirs.remove('.pub')