Downgrade rubocop 0.48.1 => 0.46.0 (#2628)
* downgrade rubocop 0.48.1 => 0.46.0 * exclude vendor/**/* from rubocop target files * add frozen_string_literal comment line * fix percent literal delimited by ( and ) * fix alignment * remove comment disabling unknown cop
This commit is contained in:
@ -63,10 +63,12 @@ class AccountSearchService < BaseService
|
||||
end
|
||||
|
||||
def search_results
|
||||
@_search_results ||= if account
|
||||
advanced_search_results
|
||||
else
|
||||
simple_search_results
|
||||
@_search_results ||= begin
|
||||
if account
|
||||
advanced_search_results
|
||||
else
|
||||
simple_search_results
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user