Skip to content

Commit

Permalink
Hide the table of perf results from the bot inside an expando element (
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham authored Apr 18, 2019
1 parent 33c3ce9 commit 0574c1f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/perf-result-post.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ gh.issues.createComment({
owner: "Microsoft",
repo: "TypeScript",
body: `@${requester}
The results of the perf run you requested are in! Here they are:
${outputTableText}`
The results of the perf run you requested are in!
<details><summary> Here they are:</summary><p>
${outputTableText}
</p></details>`
}).then(async data => {
console.log(`Results posted!`);
const newCommentUrl = data.data.html_url;
Expand Down

0 comments on commit 0574c1f

Please sign in to comment.