Skip to content

Commit

Permalink
Disable Style/ArrayIntersect lint on one line (#720)
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines authored Dec 3, 2024
1 parent d5a0f09 commit 8196e38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/lesson.rb
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ def probable_start_destination
end

def tags_without_section
tags.includes(:sections).select { |t| (t.sections & sections).empty? }
tags.includes(:sections).select { |t| (t.sections & sections).empty? } # rubocop:disable Style/ArrayIntersect
end

private
Expand Down

0 comments on commit 8196e38

Please sign in to comment.