filter out projects with missing default branch
Signed-off-by: Zach Hammer <zhammer@seatgeek.com>
This commit is contained in:
@@ -94,7 +94,7 @@ export class GitLabDiscoveryProcessor implements CatalogProcessor {
|
||||
};
|
||||
for await (const project of projects) {
|
||||
result.scanned++;
|
||||
if (!project.archived) {
|
||||
if (!(project.archived || project.default_branch === undefined)) {
|
||||
result.matches.push(project);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user