Skip to content

Commit

Permalink
Finish up
Browse files Browse the repository at this point in the history
  • Loading branch information
Naviair-RHL committed Dec 2, 2022
1 parent 964cbc8 commit 9528022
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,8 @@ exports.init = function init(args, callback) {
blacklist.forEach((blacklist) => {
if (!filteredPackage.startsWith(blacklist)) {
resultJson[filteredPackage] = filtered[filteredPackage];
} else {
delete filtered[filteredPackage];
}
});
});
Expand All @@ -469,6 +471,8 @@ exports.init = function init(args, callback) {
blacklist.forEach((blacklist) => {
if (!filteredPackage.endsWith(blacklist)) {
resultJson[filteredPackage] = filtered[filteredPackage];
} else {
delete filtered[filteredPackage];
}
});
});
Expand Down

0 comments on commit 9528022

Please sign in to comment.