mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
DEV: Update to lastest rubocop-discourse
This commit is contained in:

committed by
Loïc Guitaut

parent
3b6d4c830f
commit
2a28cda15c
@ -79,7 +79,7 @@ class ImportScripts::Zoho < ImportScripts::Base
|
||||
@all_posts << row.dup
|
||||
@categories[row.forum_name] = [] if @categories[row.forum_name].nil?
|
||||
|
||||
unless @categories[row.forum_name].include?(row.category_name)
|
||||
if @categories[row.forum_name].exclude?(row.category_name)
|
||||
@categories[row.forum_name] << row.category_name
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user