Skip to content

Commit

Permalink
fix size cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio committed Jun 9, 2020
1 parent f85ad87 commit ef491bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/e2e.cdn.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cp packages/web3/dist/web3.min.js scripts/html

cd scripts/html

BUNDLE_SIZE=$(stat -f%z web3.min.js)
BUNDLE_SIZE=$(wc -c web3.min.js | awk '{print $1}')

# Mark file with current commit, branch, and bundle size.
sed -i "s|__COMMIT_HASH__|$COMMIT_REF|g" index.html
Expand Down

0 comments on commit ef491bd

Please sign in to comment.