disable rubocop for deface overwrite - version 2

This commit is contained in:
Alexander Meindl 2019-12-19 16:47:24 +01:00
parent 30dc8998ec
commit 7f08095e6b

View File

@ -1,5 +1,4 @@
- # rubocop:disable Lint/UselessAssignment
- if field_name == 'assigned_to_id'
- rows = Setting.issue_group_assignment? ? @project.visible_principals : @project.visible_users
- rows = Setting.issue_group_assignment? ? @project.visible_principals : @project.visible_users # rubocop:disable Lint/UselessAssignment
- elsif field_name == 'author_id'
- rows = @project.visible_users
- rows = @project.visible_users # rubocop:disable Lint/UselessAssignment