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.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/runner/mod.rs b/src/runner/mod.rs
index 111367d..a2db255 100644
--- a/src/runner/mod.rs
+++ b/src/runner/mod.rs
@@ -144,8 +144,10 @@ async fn run_commands(
if stack.should_execute() {
list.clone()
.into_iter()
- .map(|w| w.eval(env).map(IntoIterator::into_iter))
- .collect::<Result<Vec<std::vec::IntoIter<_>>, _>>()?
+ .map(|w| {
+ w.eval(env).map(IntoIterator::into_iter)
+ })
+ .collect::<Result<Vec<_>, _>>()?
.into_iter()
.flatten()
.collect()