From 638117e7e955cd211b80f249659b8e13bc95bd3b Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 30 Dec 2023 22:41:56 +0100 Subject: [PATCH] feat: with empty string Signed-off-by: kjuulh --- crates/cuddle-ci/src/rust_service/ssh_agent.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/cuddle-ci/src/rust_service/ssh_agent.rs b/crates/cuddle-ci/src/rust_service/ssh_agent.rs index bf2daf6..141cc0f 100644 --- a/crates/cuddle-ci/src/rust_service/ssh_agent.rs +++ b/crates/cuddle-ci/src/rust_service/ssh_agent.rs @@ -26,7 +26,7 @@ impl DaggerMiddleware for SshAgent { let socket = self.client.host().unix_socket(&sock_var); - let home = container.env_variable("HOME").await?; + let home = container.env_variable("HOME").await.unwrap_or("".into()); let c = container .with_new_file_opts(