summaryrefslogtreecommitdiffstats
path: root/src/runner/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/runner/mod.rs')
-rw-r--r--src/runner/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runner/mod.rs b/src/runner/mod.rs
index 22121c2..6d080b8 100644
--- a/src/runner/mod.rs
+++ b/src/runner/mod.rs
@@ -143,7 +143,7 @@ async fn run_commands(
if stack.should_execute() {
list.clone()
.into_iter()
- .map(|w| w.eval(env))
+ .flat_map(|w| w.eval(env))
.collect()
} else {
vec![]