Types tweak

This commit is contained in:
Roberto Alsina 2024-07-09 13:23:16 -03:00
parent 2d333c3df1
commit 4f4daf5943

View File

@ -133,7 +133,7 @@ module Funko
end end
# Helper to run faaso locally and respond via env # Helper to run faaso locally and respond via env
def run_faaso(args : Array(String), env) : Bool def run_faaso(args : Array(String), env)
args << "-l" # Always local in the server args << "-l" # Always local in the server
Log.info { "Running faaso [#{args}" } Log.info { "Running faaso [#{args}" }
Process.run( Process.run(
@ -148,7 +148,6 @@ module Funko
Fiber.yield # Without this the process never ends Fiber.yield # Without this the process never ends
break if process.terminated? break if process.terminated?
end end
true
end end
# FIXME: find a way to raise an exception on failure # FIXME: find a way to raise an exception on failure
# of the faaso process # of the faaso process