Check namespaces when excluding license checks
The `allow-dependencies-licenses` option was not checking the namespace part of the PURL to make sure it matched.
This commit is contained in:
@@ -174,6 +174,7 @@ async function groupChanges(
|
||||
licenseExclusions.findIndex(
|
||||
exclusion =>
|
||||
exclusion.type === changeAsPackageURL.type &&
|
||||
exclusion.namespace === changeAsPackageURL.namespace &&
|
||||
exclusion.name === changeAsPackageURL.name
|
||||
) !== -1
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user