Skip to content

Commit

Permalink
Merge branch 'branches/rudder/8.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdall committed Feb 4, 2025
2 parents 8b5991b + 106dfd2 commit 748c5e3
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 173 deletions.
4 changes: 2 additions & 2 deletions policies/rudderc/src/backends/unix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ impl Backend for Unix {
ItemKind::Block(r) => {
let mut calls: Vec<(Promise, Option<Bundle>)> = vec![];
if let Some(x) = dry_run_mode::push_policy_mode(r.policy_mode_override) {
calls.push((x, None))
calls.push((x.if_condition("pass3"), None))
}
for inner in r.items {
calls.extend(resolve_module(
Expand All @@ -91,7 +91,7 @@ impl Backend for Unix {
)?);
}
if let Some(x) = dry_run_mode::pop_policy_mode(r.policy_mode_override) {
calls.push((x, None))
calls.push((x.if_condition("pass3"), None))
}
Ok(calls)
}
Expand Down
Loading

0 comments on commit 748c5e3

Please sign in to comment.