mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
DEV: Correct Style/RedundantReturn
rubocop issues (#23052)
This commit is contained in:
@ -138,7 +138,7 @@ class Typepad < Thor
|
||||
type = clean_type!(Regexp.last_match[1])
|
||||
value = section.split("\n")[1..-1].join("\n")
|
||||
value.strip!
|
||||
return [type.to_sym, value] if value.present?
|
||||
[type.to_sym, value] if value.present?
|
||||
end
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user