mirror of
https://github.com/zebrajr/react.git
synced 2025-12-06 12:20:20 +01:00
[Danger] Include 1% changes in a build, not just greater than (#12213)
This commit is contained in:
parent
86ee9e8488
commit
a634e53d2f
|
|
@ -117,8 +117,8 @@ function git(args) {
|
|||
const packagesToShow = results
|
||||
.filter(
|
||||
r =>
|
||||
Math.abs(r.prevFileSizeChange) > percentToWarrentShowing ||
|
||||
Math.abs(r.prevGzipSizeChange) > percentToWarrentShowing
|
||||
Math.abs(r.prevFileSizeChange) >= percentToWarrentShowing ||
|
||||
Math.abs(r.prevGzipSizeChange) >= percentToWarrentShowing
|
||||
)
|
||||
|
||||
.map(r => r.packageName);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user