2018-02-18 02:00:56 +00:00
|
|
|
const BlacklistAPI = require("../../BlacklistAPI");
|
2017-11-11 20:18:13 +00:00
|
|
|
|
2018-09-01 13:37:48 +00:00
|
|
|
function withBlacklist(blacklist, done) {
|
|
|
|
Promise.all(blacklist.map(BlacklistAPI.addPackage)).then(done);
|
2017-11-11 20:18:13 +00:00
|
|
|
}
|
|
|
|
|
2018-02-18 02:00:56 +00:00
|
|
|
module.exports = withBlacklist;
|