show git repo details

This commit is contained in:
João Moreno
2020-04-22 16:56:33 +02:00
parent cb14c962bc
commit 97b2fe2f7e
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -192,6 +192,7 @@ export interface Repository {
export interface RemoteSource {
readonly name: string;
readonly description?: string;
readonly url: string | string[];
}
+1 -1
View File
@@ -281,7 +281,7 @@ class RemoteSourceProviderQuickPick {
} else {
this.quickpick.items = remoteSources.map(remoteSource => ({
label: remoteSource.name,
description: typeof remoteSource.url === 'string' ? remoteSource.url : '',
description: remoteSource.description || (typeof remoteSource.url === 'string' ? remoteSource.url : remoteSource.url[0]),
remoteSource
}));
}