Skip to content

Commit

Permalink
Do not obfuscate ROBOCORP_HOME environment variable
Browse files Browse the repository at this point in the history
Does not contain sensitive information.
  • Loading branch information
jherbel committed Dec 10, 2024
1 parent 07d6a54 commit 974a3fd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/environment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down Expand Up @@ -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 {
Expand Down Expand Up @@ -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"),
Expand Down

0 comments on commit 974a3fd

Please sign in to comment.