AO3-6761 Check admin roles in TagWranglingsController #1372
reviewdog.yml
on: pull_request
Rubocop
1m 4s
ERB Lint runner
1m 33s
Annotations
1 warning
Rubocop:
app/controllers/tag_wranglings_controller.rb#L12
[rubocop] reported by reviewdog 🐶
Use a guard clause (`return unless params[:show].present?`) instead of wrapping the code inside a conditional expression.
Raw Output:
app/controllers/tag_wranglings_controller.rb:12:5: C: Style/GuardClause: Use a guard clause (`return unless params[:show].present?`) instead of wrapping the code inside a conditional expression.
|