AO3-6895 Reduce the number of badly closed database connections #1687
reviewdog.yml
on: pull_request
Rubocop
1m 3s
ERB Lint runner
1m 46s
Annotations
1 error and 2 warnings
Rubocop
Process completed with exit code 1.
|
Rubocop:
app/helpers/resque_executor_wrap_helper.rb#L2
[rubocop] reported by reviewdog 🐶
Unused method argument - `args`. If it's necessary, use `_` or `_args` as an argument name to indicate that it won't be used. You can also write as `around_perform_wrap_executor(*)` if you want the method to accept any arguments but don't care about them.
Raw Output:
app/helpers/resque_executor_wrap_helper.rb:2:37: W: Lint/UnusedMethodArgument: Unused method argument - `args`. If it's necessary, use `_` or `_args` as an argument name to indicate that it won't be used. You can also write as `around_perform_wrap_executor(*)` if you want the method to accept any arguments but don't care about them.
|
Rubocop:
app/helpers/resque_executor_wrap_helper.rb#L3
[rubocop] reported by reviewdog 🐶
Consider using explicit block argument in the surrounding method's signature over `yield`.
Raw Output:
app/helpers/resque_executor_wrap_helper.rb:3:5: C: Style/ExplicitBlockArgument: Consider using explicit block argument in the surrounding method's signature over `yield`.
|