Skip to content

Commit

Permalink
Fixed logic to match cohort size argument
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxcrawford committed Aug 10, 2020
1 parent 1e04f93 commit dfd240f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/collect-unresolved-breaches-addresses.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,8 @@ function getArgsValue(argument) {

const cohort = [];


for (const record of results) {
if (cohort.length > cohortSize) {
if (cohort.length >= cohortSize) {
// Cohort size reached
break;
}
Expand Down

0 comments on commit dfd240f

Please sign in to comment.