mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Code fixes reported by static code analysis (#450)
This commit is contained in:
parent
f3f7e319ae
commit
c2236acf3a
14 changed files with 60 additions and 65 deletions
|
@ -66,7 +66,7 @@ def build_main_handler
|
|||
Kemal.config.setup
|
||||
main_handler = Kemal.config.handlers.first
|
||||
current_handler = main_handler
|
||||
Kemal.config.handlers.each_with_index do |handler, index|
|
||||
Kemal.config.handlers.each do |handler|
|
||||
current_handler.next = handler
|
||||
current_handler = handler
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue