[licenses] Ignore .ccls-cache folder when generating engine licenses. (flutter/engine#28622)

This commit is contained in:
Alexander Biggs
2021-09-14 18:37:01 -07:00
committed by GitHub
parent 66fe4ff7d1
commit 3ae15993fa
2 changed files with 2 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
Signature: 0836a8bd0db33f4a7dc3d5cd71458955
Signature: b868c0ccb9fa443bfee873dcaa5a0fc6

View File

@@ -919,6 +919,7 @@ class _RepositoryDirectory extends _RepositoryEntry implements LicenseSource {
/// directory (a.k.a. buildroot).
bool shouldRecurse(fs.IoNode entry) {
return !entry.fullName.endsWith('third_party/gn') &&
entry.name != '.ccls-cache' &&
entry.name != '.cipd' &&
entry.name != '.git' &&
entry.name != '.github' &&