Fix Style/RedundantReturn
cop (#28391)
This commit is contained in:
parent
89d468ada7
commit
0e5b8fc46b
5 changed files with 16 additions and 20 deletions
|
@ -52,7 +52,7 @@ class OStatus::TagManager
|
|||
ActivityPub::TagManager.instance.uri_to_local_id(tag)
|
||||
else
|
||||
matches = Regexp.new("objectId=([\\d]+):objectType=#{expected_type}").match(tag)
|
||||
return matches[1] unless matches.nil?
|
||||
matches[1] unless matches.nil?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue