[WIP] feature: add bulk update #4092
lint.yml
on: pull_request
lint
/
...
/
standardrb
25s
lint
/
...
/
erb-lint
5s
lint
/
check-eslint-config
4s
lint
/
...
/
eslint
0s
Annotations
2 errors
lint / runner / erb-lint
Process completed with exit code 1.
|
lint / runner / standardrb:
app/controllers/avo/bulk_update_controller.rb#L93
[rubocop] reported by reviewdog 🐶
[Corrected] Style/TernaryParentheses: Use parentheses for ternary expressions with complex conditions.
Raw Output:
app/controllers/avo/bulk_update_controller.rb:93:34: C: [Corrected] Style/TernaryParentheses: Use parentheses for ternary expressions with complex conditions.
prefilled[field_name] = (values.size == 1 ? values.first : nil)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|