mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: Apply Rubocop redundant return style
This commit is contained in:
@ -181,7 +181,7 @@ class ImportScripts::MyBB < ImportScripts::Base
|
||||
if count > 5
|
||||
puts "Warning: probably incorrect quote in post #{post_id}"
|
||||
end
|
||||
return username
|
||||
username
|
||||
end
|
||||
|
||||
# Take an original post id and return the migrated topic id and post number for it
|
||||
|
Reference in New Issue
Block a user