mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
fix recursive self calls (flutter/engine#37321)
* fix recursive self calls * update tool signature
This commit is contained in:
parent
3a3ebf5937
commit
d2dd874b42
@ -1,2 +1,2 @@
|
||||
Signature: 960c777bbc4aed25629fa86a8d7bf10b
|
||||
Signature: fd17294a410a1a503ab9aa72a0797dbe
|
||||
|
||||
|
||||
@ -106,7 +106,7 @@ class _RepositorySourceFile extends _RepositoryLicensedFile {
|
||||
}
|
||||
}
|
||||
_licenses!.sort();
|
||||
for (final License license in licenses) {
|
||||
for (final License license in _licenses!) {
|
||||
license.markUsed(io.fullName, libraryName);
|
||||
}
|
||||
assert(_licenses != null && _licenses!.isNotEmpty);
|
||||
@ -126,7 +126,7 @@ class _RepositoryBinaryFile extends _RepositoryLicensedFile {
|
||||
if (_licenses == null || _licenses!.isEmpty) {
|
||||
throw 'no license file found in scope for ${io.fullName}';
|
||||
}
|
||||
for (final License license in licenses!) {
|
||||
for (final License license in _licenses!) {
|
||||
license.markUsed(io.fullName, libraryName);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user