Skip to content

Commit feb8014

Browse files
committed
size update
1 parent 16e1f42 commit feb8014

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.builder/actions/crt_size_check.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,5 @@ def run(self, env):
7474

7575
print(f"Total NPM package file size: {total_size} bytes")
7676
if total_size > max_size:
77-
raise Exception(f'NPM package exceeds size limit of {max_size} bytes.')
77+
raise Exception(f'NPM package exceeds size limit of {
78+
max_size} bytes.')

continuous-delivery/pack.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ mkdir $UNZIP
3939
tar -xf aws-crt-$CURRENT_TAG.tgz -C $UNZIP
4040
PACK_FILE_SIZE_KB=$(du -sk $UNZIP | awk '{print $1}')
4141
echo "Current package size: ${PACK_FILE_SIZE_KB}"
42-
if expr $PACK_FILE_SIZE_KB \> "$((27000))" ; then
42+
if expr $PACK_FILE_SIZE_KB \> "$((33000))" ; then
4343
# the package size is too large, return -1
4444
echo "Package size is too large!"
4545
exit -1

0 commit comments

Comments
 (0)