'use strict';

var downloadIcon = require('./downloadIcon');

function downloadIcons(iconUrls) {
    var promises = iconUrls.map(downloadIcon);
    return Promise.all(promises).then(function (iconPaths) {
        return iconPaths.filter(function (element) {
            return !!element;
        });
    });
}

module.exports = downloadIcons;
//# sourceMappingURL=downloadIcons.js.map