Change process list formatting to raw instead of table, fixes ##44733

This commit is contained in:
Rachel Macfarlane
2018-02-28 10:56:43 -08:00
parent ac842329c2
commit 8e8749fdda
5 changed files with 12 additions and 79 deletions

View File

@@ -144,20 +144,15 @@ ${this.getInfos()}
}
private generateProcessInfoMd(): string {
let md = `<details>
return `<details>
<summary>Process Info</summary>
|pid|CPU|Memory (MB)|Name|
|---|---|---|---|
\`\`\`
${this._data.processInfo}
\`\`\`
</details>
`;
this._data.processInfo.forEach(p => {
md += `|${p.pid}|${p.cpu}|${p.memory}|${p.name}|\n`;
});
md += '\n</details>';
return md;
}
private generateWorkspaceInfoMd(): string {