Hide the table of perf results from the bot inside an expando element (#31007)

This commit is contained in:
Wesley Wigham 2019-04-18 09:09:22 -07:00 committed by GitHub
parent 33c3ce9cd0
commit 0574c1fae1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;