Apply suggestions from code review

Proper multiline block

Co-authored-by: Sijawusz Pur Rahnama <sija@sija.pl>
This commit is contained in:
Giorgi Kavrelishvili 2024-01-02 17:53:04 +04:00 committed by GitHub
parent ba7cd7e701
commit 9827dbf548
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,10 +89,10 @@ module Kemal
end end
private def self.setup_trap_signal private def self.setup_trap_signal
Process.on_interrupt { Process.on_interrupt do
log "#{Kemal.config.app_name} is going to take a rest!" if Kemal.config.shutdown_message log "#{Kemal.config.app_name} is going to take a rest!" if Kemal.config.shutdown_message
Kemal.stop Kemal.stop
exit exit
} end
end end
end end