Skip to content

Commit

Permalink
Fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry committed Sep 27, 2016
1 parent 37cd7f4 commit 54c5c02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Metrics/AbcSize:
# Offense count: 4
# Configuration parameters: CountComments.
Metrics/ClassLength:
Max: 274
Max: 277

# Offense count: 14
Metrics/CyclomaticComplexity:
Expand Down
2 changes: 1 addition & 1 deletion lib/chewy/query.rb
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def min_score(value)
#
# UsersIndex.query(...).track_scores(true)
#
def track_scores value
def track_scores(value)
chain { criteria.update_request_options track_scores: value }
end

Expand Down

0 comments on commit 54c5c02

Please sign in to comment.