"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.RepositoriesMatcher = void 0;
const base_1 = require("./base");
const match_1 = require("./match");
class RepositoriesMatcher extends base_1.Matcher {
    matches({ repository }, { matchRepositories }) {
        return (0, match_1.anyMatchRegexOrMinimatch)(matchRepositories, repository);
    }
    excludes({ repository }, { excludeRepositories }) {
        return (0, match_1.anyMatchRegexOrMinimatch)(excludeRepositories, repository);
    }
}
exports.RepositoriesMatcher = RepositoriesMatcher;
//# sourceMappingURL=repositories.js.map