提交 97b2fe2f 编写于 作者: J João Moreno

show git repo details

上级 cb14c962
......@@ -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
}));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册