Skip to content

Commit a634e53

Browse files
ortagaearon
authored andcommitted
[Danger] Include 1% changes in a build, not just greater than (facebook#12213)
1 parent 86ee9e8 commit a634e53

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

dangerfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ function git(args) {
117117
const packagesToShow = results
118118
.filter(
119119
r =>
120-
Math.abs(r.prevFileSizeChange) > percentToWarrentShowing ||
121-
Math.abs(r.prevGzipSizeChange) > percentToWarrentShowing
120+
Math.abs(r.prevFileSizeChange) >= percentToWarrentShowing ||
121+
Math.abs(r.prevGzipSizeChange) >= percentToWarrentShowing
122122
)
123123

124124
.map(r => r.packageName);

0 commit comments

Comments
 (0)