mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:23:25 +08:00
DEV: Make rubocop happy.
This commit is contained in:
parent
ee5d8fba0c
commit
06ef87da51
|
@ -28,7 +28,7 @@ class Search
|
|||
affix = part.length > radius ? omission : ""
|
||||
part = part.public_send(part_position == :first ? :last : :first, radius)
|
||||
part = part.join(separator) if separator != ""
|
||||
return affix, part
|
||||
[affix, part]
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user