提交 b7296833 编写于 作者: P Pine Wu

Reduce query length by removing whitespace and link

上级 02f6a413
......@@ -578,11 +578,10 @@ Steps to Reproduce:
}
private generateExtensionTable(extensions: ILocalExtension[]): string {
let tableHeader = `| Extension | Author | Version |
| --- | --- | --- |`;
let tableHeader = `|Extension|Author|Version|
|---|---|---|`;
const table = extensions.map(e => {
const marketplaceLink = `https://marketplace.visualstudio.com/items?itemName=${e.manifest.publisher}.${e.manifest.name}`;
return `| [${e.manifest.name}](${marketplaceLink}) | ${e.manifest.publisher} | ${e.manifest.version} |`;
return `|${e.manifest.name}|${e.manifest.publisher}|${e.manifest.version}|`;
}).join('\n');
return tableHeader + '\n' + table;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册