Update license script to ignore NOTICE.fuchsia file (flutter/engine#34038)

More context at http://fxb/94240
This commit is contained in:
Kaushik Iska 2022-06-14 17:22:17 -04:00 committed by GitHub
parent 02e21614cc
commit 73103cd414
2 changed files with 5 additions and 1 deletions

View File

@ -1,2 +1,2 @@
Signature: 1177a4d90f87bc4a0198864901db40ab
Signature: 808fd97f7e34a2388888f371bb74e2fb

View File

@ -2370,6 +2370,10 @@ class _RepositoryFuchsiaDirectory extends _RepositoryDirectory {
@override
bool shouldRecurse(fs.IoNode entry) {
return entry.name != 'toolchain'
// Applies to NOTICE.fuchsia file.
// This is a file that covers things that contribute to the Fuchsia SDK.
// See: fxb/94240
&& !(entry.name == 'NOTICE.fuchsia')
&& super.shouldRecurse(entry);
}