mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-18 21:01:30 +00:00
Use next
instead of return
which exits the enclosing method
This commit is contained in:
parent
0e06e8c250
commit
b62bf8637d
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ module WebRequestConcern
|
|||
encoding = @default_encoding
|
||||
else
|
||||
# Never try to transcode a binary content
|
||||
return
|
||||
next
|
||||
end
|
||||
end
|
||||
body.encode!(Encoding::UTF_8, encoding) unless body.encoding == Encoding::UTF_8
|
||||
|
|
Loading…
Add table
Reference in a new issue