From 0777fbe61eefec716861e8208f6740cd662b8d9b Mon Sep 17 00:00:00 2001 From: Federico Builes Date: Thu, 9 Jun 2022 10:42:56 +0200 Subject: [PATCH] Updating dist. --- dist/index.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/dist/index.js b/dist/index.js index 221f1a3..105fa40 100644 --- a/dist/index.js +++ b/dist/index.js @@ -71,12 +71,17 @@ exports.getDeniedLicenseChanges = void 0; /** * Loops through a list of changes, filtering and returning the * ones that don't conform to the licenses allow/deny lists. + * + * Keep in mind that we don't let users specify both an allow and a deny + * list in their config files, so this code works under the assumption that + * one of the two list parameters will be empty. If both lists are provided, + * we will ignore the deny list. * @param {Change[]} changes The list of changes to filter. * @param { { allow?: string[], deny?: string[]}} licenses An object with `allow`/`deny` keys, each containing a list of licenses. * @returns {Array