diff --git a/tasks/changelog.rb b/tasks/changelog.rb index 3581b17b51..49b490ad3d 100644 --- a/tasks/changelog.rb +++ b/tasks/changelog.rb @@ -129,9 +129,9 @@ def merge_content end def new_contributor_lines - contributors - .map { |user| format(CONTRIBUTOR, user: user) } - .reject { |line| @rest.include?(line) } + unique_contributor_names = contributors.map { |user| format(CONTRIBUTOR, user: user) }.uniq + + unique_contributor_names.reject { |line| @rest.include?(line) } end def contributors