From 3a09c68378fbca5299481216381fe8f0647506a0 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 3 Feb 2024 20:06:17 +0100 Subject: [PATCH] feat: reverse Signed-off-by: kjuulh --- cuddle/src/actions/shell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cuddle/src/actions/shell.rs b/cuddle/src/actions/shell.rs index 9a4f660..3c8cb99 100644 --- a/cuddle/src/actions/shell.rs +++ b/cuddle/src/actions/shell.rs @@ -31,7 +31,7 @@ impl ShellAction { let mut process = Command::new(&path) .current_dir(current_dir) - .envs(variables.iter().map(|v| { + .envs(variables.iter().rev().map(|v| { log::trace!("{:?}", v); (v.name.to_uppercase(), v.value.clone())