mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00
DEV: Correct Style/RedundantReturn
rubocop issues (#23052)
This commit is contained in:
@ -17,7 +17,7 @@ class CreateTitle
|
||||
title = complete_words title
|
||||
end
|
||||
|
||||
return title unless title.nil? || title.size < 20
|
||||
title unless title.nil? || title.size < 20
|
||||
end
|
||||
|
||||
private
|
||||
|
Reference in New Issue
Block a user