fix(cli): preserve validated addresses in daemon command hints

This commit is contained in:
Mohamed Boudra
2026-10-19 08:52:09 +02:00
parent 12baedf656
commit d4c5a3a349
4 changed files with 66 additions and 2 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ describe("CLI SSH transport", () => {
expect(parseHostTarget("ssh://deploy@build-box:2222?daemonPort=7777")).toEqual({
kind: "ssh",
ssh: { host: "deploy@build-box", sshPort: 2222, daemonPort: 7777 },
description: "ssh://deploy@build-box:2222 (daemon port 7777)",
description: "ssh://build-box:2222 (daemon port 7777)",
});
expect(() => parseHostTarget("ssh://deploy:secret@build-box")).toThrow(
"Invalid host connection",