mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
DEV: Apply Rubocop redundant return style
This commit is contained in:
parent
be15abcf7f
commit
067696df8f
30 changed files with 45 additions and 45 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue