DEV: Update to lastest rubocop-discourse

This commit is contained in:
Loïc Guitaut
2024-05-27 12:27:13 +02:00
committed by Loïc Guitaut
parent 3b6d4c830f
commit 2a28cda15c
164 changed files with 269 additions and 263 deletions

View File

@ -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