From 772231fab2546bd474baa86211aa711fc47c49d8 Mon Sep 17 00:00:00 2001 From: Teo Stocco Date: Sat, 4 Feb 2023 13:50:45 +0100 Subject: [PATCH] chore: bump 0.2.1 --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/actors/command.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f08d80a..1b246c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2144,7 +2144,7 @@ dependencies = [ [[package]] name = "whiz" -version = "0.2.0" +version = "0.2.1" dependencies = [ "actix", "ansi-to-tui", diff --git a/Cargo.toml b/Cargo.toml index 1853430..c2ebbb7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "whiz" -version = "0.2.0" +version = "0.2.1" edition = "2021" description = "Modern DAG/tasks runner for multi-platform monorepos." license = "MPL-2.0" diff --git a/src/actors/command.rs b/src/actors/command.rs index 435bec0..84f0b23 100644 --- a/src/actors/command.rs +++ b/src/actors/command.rs @@ -318,7 +318,7 @@ impl CommandActor { match &task_pipe.redirection { OutputRedirection::Tab(name) => { let mut tab_name = "".to_string(); - for capture in task_pipe.regex.captures_iter(&line) { + if let Some(capture) = task_pipe.regex.captures(&line) { capture.expand(&name.clone(), &mut tab_name); } if let Some(addr) = &self_addr {