Skip to content

Commit 0574c1f

Browse files
authored
Hide the table of perf results from the bot inside an expando element (#31007)
1 parent 33c3ce9 commit 0574c1f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

scripts/perf-result-post.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ gh.issues.createComment({
2222
owner: "Microsoft",
2323
repo: "TypeScript",
2424
body: `@${requester}
25-
The results of the perf run you requested are in! Here they are:
26-
27-
${outputTableText}`
25+
The results of the perf run you requested are in!
26+
<details><summary> Here they are:</summary><p>
27+
${outputTableText}
28+
</p></details>`
2829
}).then(async data => {
2930
console.log(`Results posted!`);
3031
const newCommentUrl = data.data.html_url;

0 commit comments

Comments
 (0)