Skip to content

Commit

Permalink
chore: add footnote to “Bundle impact” in PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jul 15, 2024
1 parent 30c42e9 commit 812bc7a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/weigh-changed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,9 @@ for file in "${FILE_NAMES[@]}"; do

if [[ -n "$CI" ]]; then
if [ "$column_count" -gt 2 ]; then
echo "| $status | \`$file\` | $bytes | $diff$ratio |"
echo "| $status | \`$file\` | $bytes[^1337] | $diff$ratio |"
else
echo "| $status | \`$file\` | $bytes |"
echo "| $status | \`$file\` | $bytes[^1337] |"
fi
else
if [ "$column_count" -gt 2 ] && [ "$prev_bytes" -ne 0 ]; then
Expand All @@ -126,3 +126,7 @@ for file in "${FILE_NAMES[@]}"; do

i=$((i + 1))
done

echo ""
echo "[^1337]: Function size includes the \`import\` dependencies of the function."
echo ""

0 comments on commit 812bc7a

Please sign in to comment.