@samitouri / QOS-React-2 / commits / a634e53d2f

[Danger] Include 1% changes in a build, not just greater than (#12213)

Orta committed Feb 12, 2018 at 07:44 UTC a634e53d2ff376366aa87815ad4de064494cd05e
1 file changed +2 -2
dangerfile.js
+2 -2
@@ -117,8 +117,8 @@ function git(args) {
117 const packagesToShow = results
118 .filter(
119 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
122 )
123
124 .map(r => r.packageName);