lib/checkoff/internal/task_selector_evaluator.rb in checkoff-0.42.0 vs lib/checkoff/internal/task_selector_evaluator.rb in checkoff-0.43.0
- old
+ new
@@ -99,10 +99,10 @@
# @param custom_field_name [String]
# @return [Hash, nil]
def pull_custom_field_by_name(task, custom_field_name)
custom_fields = task.custom_fields
if custom_fields.nil?
- raise "custom fields not found on task - did you add 'custom_field' in your extra_fields argument?"
+ raise "custom fields not found on task - did you add 'custom_fields' in your extra_fields argument?"
end
# @sg-ignore
# @type [Hash, nil]
custom_fields.find { |field| field.fetch('name') == custom_field_name }