From 210f7680fca6d17984444ae9b8e4ccbbe36f179f Mon Sep 17 00:00:00 2001 From: Jim Graham Date: Wed, 29 Jul 2020 17:16:26 -0700 Subject: [PATCH] ignore .idea directory in dart analyzer and analyzer benchmark output (#55235) --- .gitignore | 1 + dev/bots/analyze.dart | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index f436c56c76..36fdc05534 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ /dev/integration_tests/**/Pods /packages/flutter/coverage/ version +analysis_benchmark.json # packages file containing multi-root paths .packages.generated diff --git a/dev/bots/analyze.dart b/dev/bots/analyze.dart index 35bac6d14e..2e4ae1cadf 100644 --- a/dev/bots/analyze.dart +++ b/dev/bots/analyze.dart @@ -1151,6 +1151,8 @@ Iterable _allFiles(String workingDirectory, String extension, { @required continue; if (path.basename(entity.path) == '.git') continue; + if (path.basename(entity.path) == '.idea') + continue; if (path.basename(entity.path) == '.gradle') continue; if (path.basename(entity.path) == '.dart_tool')