parent
6911a250ef
commit
e7cdb9f660
|
@ -25,14 +25,14 @@ for (const compressionType in limitSizes) {
|
|||
failed = true;
|
||||
console.log(
|
||||
`Commit ${commit} ${compressionType} ${filename} exceeded expected size by >1% ` +
|
||||
`(expected: ${expectedSize}, actual: ${actualSize}).\n` +
|
||||
`If this is a desired change, please update the size limits in file '${limitFile}'.`);
|
||||
`(expected: ${expectedSize}, actual: ${actualSize}).`);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (failed) {
|
||||
console.log(`If this is a desired change, please update the size limits in file '${limitFile}'.`);
|
||||
process.exit(1);
|
||||
} else {
|
||||
console.log('Payload size <1% change check passed.');
|
||||
|
|
|
@ -79,8 +79,6 @@ uploadData() {
|
|||
name="$1"
|
||||
payloadData="{${payloadData}}"
|
||||
|
||||
echo The data for $name is:
|
||||
echo $payloadData
|
||||
echo $payloadData > /tmp/current.log
|
||||
|
||||
readonly safeBranchName=$(echo $TRAVIS_BRANCH | sed -e 's/\./_/g')
|
||||
|
|
Loading…
Reference in New Issue