Skip to content

Commit

Permalink
[Danger] Include 1% changes in a build, not just greater than (facebo…
Browse files Browse the repository at this point in the history
  • Loading branch information
orta authored and rhagigi committed Apr 19, 2018
1 parent ded73a9 commit ef5f1f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ef5f1f0

Please sign in to comment.