From 974a3fdc83ebf831a483401bd0e1b94718ab88c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Herbel?= Date: Tue, 10 Dec 2024 11:47:35 +0100 Subject: [PATCH] Do not obfuscate `ROBOCORP_HOME` environment variable Does not contain sensitive information. --- src/environment.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/environment.rs b/src/environment.rs index a17e0346..59b6490b 100644 --- a/src/environment.rs +++ b/src/environment.rs @@ -100,7 +100,7 @@ impl RCCEnvironment { pub fn bundled_command_spec(binary_path: &Utf8Path, robocorp_home: String) -> CommandSpec { let mut command_spec = CommandSpec::new(binary_path); command_spec.add_argument("--bundled"); - command_spec.add_obfuscated_env("ROBOCORP_HOME", &robocorp_home); + command_spec.add_plain_env("ROBOCORP_HOME", &robocorp_home); command_spec } @@ -220,7 +220,7 @@ mod tests { #[cfg(windows)] "cmd.exe", ) - .add_obfuscated_env("ROBOCORP_HOME", "~/.robocorp/"); + .add_plain_env("ROBOCORP_HOME", "~/.robocorp/"); assert_eq!( RCCEnvironment { @@ -283,7 +283,7 @@ mod tests { .add_argument("--flag") .add_argument("--option") .add_argument("option_value") - .add_obfuscated_env("ROBOCORP_HOME", "~/.robocorp/"); + .add_plain_env("ROBOCORP_HOME", "~/.robocorp/"); assert_eq!( RCCEnvironment { binary_path: Utf8PathBuf::from("C:\\bin\\z.exe"),