Ignore removed changes in license checker

This commit is contained in:
Kenichi Kamiya
2022-07-13 18:11:10 +09:00
parent bced8aa1b2
commit c5d7bdcf7f
2 changed files with 22 additions and 0 deletions
+4
View File
@@ -25,6 +25,10 @@ export function getDeniedLicenseChanges(
const unknown: Change[] = []
for (const change of changes) {
if (change.change_type === 'removed') {
continue
}
const license = change.license
if (license === null) {
unknown.push(change)