Skip to content

Commit

Permalink
more pr cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Tooyosi committed Mar 27, 2024
1 parent 7f1c878 commit d43c692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/subjects/remover.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def has_been_collected_or_classified?
end

def belongs_to_other_subject_set?
return false unless !subject_set_id.nil?
return false if subject_set_id.nil?

orphan_subject.set_member_subjects.where.not(subject_set_id: subject_set_id).count.positive?
end
Expand Down

0 comments on commit d43c692

Please sign in to comment.