"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractRepoProblems = void 0;
const bunyan_1 = require("bunyan");
const logger_1 = require("../../logger");
function extractRepoProblems(config) {
    return new Set((0, logger_1.getProblems)()
        .filter((problem) => problem.repository === config.repository && !problem.artifactErrors)
        .map((problem) => `${bunyan_1.nameFromLevel[problem.level].toUpperCase()}: ${problem.msg}`));
}
exports.extractRepoProblems = extractRepoProblems;
//# sourceMappingURL=common.js.map