Fix output when rebuilding

This commit is contained in:
Pablo Ovelleiro Corral
2025-02-16 04:28:04 +01:00
committed by clan-bot
parent 4e2ae0f9f6
commit d63b4ffbd8

View File

@@ -166,6 +166,10 @@ def deploy_machines(machines: list[Machine]) -> None:
extra_env=env,
)
# Last output line (config store path) is printed to stdout instead of stderr
lines = ret.stdout.splitlines()
if lines: print(lines[-1])
if is_async_cancelled():
return