From 6569449fff99b251b2cea96cb76eaa0ea430c63e Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 15 Mar 2024 11:58:47 +0200 Subject: [PATCH] cli: add PATH to env vars in rad-debug Signed-off-by: Lars Wirzenius --- radicle-cli/src/commands/debug.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle-cli/src/commands/debug.rs b/radicle-cli/src/commands/debug.rs index 9852b7d0..c9432a0a 100644 --- a/radicle-cli/src/commands/debug.rs +++ b/radicle-cli/src/commands/debug.rs @@ -60,7 +60,7 @@ fn debug(profile: &Profile) -> anyhow::Result<()> { let env = HashMap::from_iter(env::vars().filter_map(|(k, v)| { if k == "RAD_PASSPHRASE" { Some((k, "".into())) - } else if k.starts_with("RAD_") || k.starts_with("SSH_") { + } else if k.starts_with("RAD_") || k.starts_with("SSH_") || k == "PATH" { Some((k, v)) } else { None