feat: reverse folders
All checks were successful
continuous-integration/drone/push Build is passing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-02-03 20:11:54 +01:00
parent 3a09c68378
commit e09e28e8d0
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -77,7 +77,7 @@ impl FolderCommand {
// Prepare context // Prepare context
let mut context = tera::Context::new(); let mut context = tera::Context::new();
for var in &self.variables { for var in self.variables.iter().rev() {
context.insert(var.name.to_lowercase().replace([' ', '-'], "_"), &var.value) context.insert(var.name.to_lowercase().replace([' ', '-'], "_"), &var.value)
} }