Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Nov 25, 2024
1 parent db823d4 commit e8ae24c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/repository.rb
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ def process_activities
.map { |d, c| [d, Activity.find_by(repository_token: c['internals']['token'], repository_id: id)] }
# rubocop:disable Style/CollectionCompact
# This is a false positive for Hash#compact, where this is Array#compact
.reject { |_, e| e.nil? }
.reject { |_, a| a.nil? }
# rubocop:enable Style/CollectionCompact
.group_by { |_, e| e }
.group_by { |_, a| a }
.transform_values { |l| l.pluck(0) }
handled_directories = []
handled_activity_ids = []
Expand Down

0 comments on commit e8ae24c

Please sign in to comment.