mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-28 16:33:25 +01:00
show git repo details
This commit is contained in:
Vendored
+1
@@ -192,6 +192,7 @@ export interface Repository {
|
||||
|
||||
export interface RemoteSource {
|
||||
readonly name: string;
|
||||
readonly description?: string;
|
||||
readonly url: string | string[];
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user