Fixed validation for RepoUrlPicker

Signed-off-by: Veith M. Bürgerhoff <veith.buergerhoff@gmail.com>
This commit is contained in:
Veith M. Bürgerhoff
2024-06-24 14:17:19 +02:00
parent 0c5aa5a007
commit 661b354277
6 changed files with 47 additions and 21 deletions
@@ -85,6 +85,10 @@ export const parseRepoUrl = (
checkRequiredParams(parsed, 'project', 'repo');
break;
}
case 'azure': {
checkRequiredParams(parsed, 'project', 'repo');
break;
}
case 'gitlab': {
// project is the projectID, and if defined, owner and repo won't be needed.
if (!project) {