Closed billyvg closed 4 years ago
https://github.com/andresz1/size-limit-action/blob/master/src/SizeLimit.ts#L48
Wouldn't this make more sense to compare against base instead of current?
const value = ((current - base) / base) * 100;
If base is 100, and current is 200, then base increased by 100%.
Yes! I think that you are right @billyvg thank you so much!
https://github.com/andresz1/size-limit-action/blob/master/src/SizeLimit.ts#L48
Wouldn't this make more sense to compare against base instead of current?
If base is 100, and current is 200, then base increased by 100%.