mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 06:51:53 +01:00
Change process list formatting to raw instead of table, fixes ##44733
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user