Fixed validation for RepoUrlPicker
Signed-off-by: Veith M. Bürgerhoff <veith.buergerhoff@gmail.com>
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user