Updated .codeclimate.yml

This commit is contained in:
Sergei Tsoganov 2023-12-19 13:09:11 +02:00
parent e68039902d
commit 6e271a9242
2 changed files with 2 additions and 2 deletions

View file

@ -31,7 +31,7 @@ plugins:
enabled: false enabled: false
rubocop: rubocop:
enabled: true enabled: true
channel: rubocop-1-18-3 channel: rubocop-1-45
checks: checks:
Rubocop/Style/ClassAndModuleChildren: Rubocop/Style/ClassAndModuleChildren:
enabled: false enabled: false

View file

@ -44,7 +44,7 @@ module Repp
private private
def search_params def search_params
params.permit(:q, q: %i[start_date end_date compare_to_end_date compare_to_start_date]) params.permit(:q, q: %i[end_date compare_to_end_date])
.fetch(:q, {}) || {} .fetch(:q, {}) || {}
end end