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", owner: "Microsoft",
repo: "TypeScript", repo: "TypeScript",
body: `@${requester} body: `@${requester}
The results of the perf run you requested are in! Here they are: The results of the perf run you requested are in!
<details><summary> Here they are:</summary><p>
${outputTableText}` ${outputTableText}
</p></details>`
}).then(async data => { }).then(async data => {
console.log(`Results posted!`); console.log(`Results posted!`);
const newCommentUrl = data.data.html_url; const newCommentUrl = data.data.html_url;