mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
[Danger] Include 1% changes in a build, not just greater than (#12213)
This commit is contained in:
+2
-2
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user