fix GitlabOrgDiscoveryEntityProvider and tests
Signed-off-by: Matteo Silvestri <matteosilv@gmail.com>
This commit is contained in:
+4
-1
@@ -199,7 +199,10 @@ export class GitlabOrgDiscoveryEntityProvider implements EntityProvider {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!group.full_path.startsWith(this.config.group)) {
|
||||
if (
|
||||
this.config.group &&
|
||||
!group.full_path.startsWith(`${this.config.group}/`)
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user