Nicer formatting

This commit is contained in:
Dan Abramov
2021-11-06 17:41:08 +00:00
parent 7b245262df
commit 71ef15cd72

View File

@@ -81,6 +81,12 @@ jobs:
if: success() && github.event.number
run: |
body=$(cat .next/analyze/__bundle_analysis_comment.txt)
body="## Size Changes
<details>
${body}
</details>"
body="${body//'%'/'%25'}"
body="${body//$'\n'/'%0A'}"
body="${body//$'\r'/'%0D'}"