Add .DS_Store to ignore list for the analyzer to run on macos cleanly. (#65530)

This commit is contained in:
Darren Austin
2020-09-18 14:37:04 -07:00
committed by GitHub
parent c11440ae92
commit 4253e42b43

View File

@@ -1141,6 +1141,8 @@ Iterable<File> _allFiles(String workingDirectory, String extension, { @required
continue;
if (path.basename(entity.path) == 'gradlew.bat')
continue;
if (path.basename(entity.path) == '.DS_Store')
continue;
if (extension == null || path.extension(entity.path) == '.$extension') {
matches += 1;
yield entity;