feat: reverse folders
Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
parent
3a09c68378
commit
e09e28e8d0
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user