File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- Signature: 960c777bbc4aed25629fa86a8d7bf10b
1+ Signature: fd17294a410a1a503ab9aa72a0797dbe
22
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ class _RepositorySourceFile extends _RepositoryLicensedFile {
106106 }
107107 }
108108 _licenses! .sort ();
109- for (final License license in licenses ) {
109+ for (final License license in _licenses ! ) {
110110 license.markUsed (io.fullName, libraryName);
111111 }
112112 assert (_licenses != null && _licenses! .isNotEmpty);
@@ -126,7 +126,7 @@ class _RepositoryBinaryFile extends _RepositoryLicensedFile {
126126 if (_licenses == null || _licenses! .isEmpty) {
127127 throw 'no license file found in scope for ${io .fullName }' ;
128128 }
129- for (final License license in licenses ! ) {
129+ for (final License license in _licenses ! ) {
130130 license.markUsed (io.fullName, libraryName);
131131 }
132132 }
You can’t perform that action at this time.
0 commit comments