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
|
@ -196,7 +196,7 @@ class DisqusSAX < Nokogiri::XML::SAX::Document
|
|||
end
|
||||
|
||||
def inside?(*params)
|
||||
return !params.find { |p| !@inside[p] }
|
||||
!params.find { |p| !@inside[p] }
|
||||
end
|
||||
|
||||
def normalize
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue