8000 Put back `# rubocop:disable Metrics/MethodLength` · DMPRoadmap/roadmap@115ea70 · GitHub
[go: up one dir, main page]

Skip to content

Commit 115ea70

Browse files
committed
Put back # rubocop:disable Metrics/MethodLength
1 parent 49b9f7d commit 115ea70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/models/question.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ def update_conditions(param_conditions, old_to_new_opts, question_id_map)
213213
end
214214
end
215215

216-
# rubocop:disable Metrics/AbcSize
216+
# rubocop:disable Metrics/AbcSize, Metrics/MethodLength
217217
def save_condition(value, opt_map, question_id_map)
218218
c = conditions.build
219219
c.action_type = value['action_type']
@@ -244,7 +244,7 @@ def save_condition(value, opt_map, question_id_map)
244244
end
245245
c.save
246246
end
247-
# rubocop:enable Metrics/AbcSize
247+
# rubocop:enable Metrics/AbcSize, Metrics/MethodLength
248248

249249
private
250250

0 commit comments

Comments
 (0)
0