Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Correct the placement of a warning color reset
Maximilian Roos982b7c7c37fb
diff --git a/src/commands/hooks.rs b/src/commands/hooks.rsindex 6c36372ea..c0045fc9b 100644--- a/src/commands/hooks.rs+++ b/src/commands/hooks.rs@@ -87,7 +87,7 @@ impl<'a> HookPipeline<'a> {HookFailureStrategy::Warn => {let message = match &prepared.name {Some(name) => format!(- "{WARNING}Command {WARNING_BOLD}{name}{WARNING_BOLD:#} failed: {err_msg}{WARNING:#}"+ "{WARNING}Command {WARNING_BOLD}{name}{WARNING_BOLD:#}{WARNING} failed: {err_msg}{WARNING:#}"),None => format!("{WARNING}Command failed: {err_msg}{WARNING:#}"),};diff --git a/src/commands/repository_ext.rs b/src/commands/repository_ext.rsindex 2aa8a9fb5..c28f828c2 100644--- a/src/commands/repository_ext.rs+++ b/src/commands/repository_ext.rs@@ -136,7 +136,7 @@ impl RepositoryCliExt for Repository {Ok(info) => items.push(ListItem::Branch(info)),Err(e) => {println!(- "{WARNING_EMOJI} {WARNING}Failed to enrich branch {WARNING_BOLD}{branch}{WARNING_BOLD:#}: {e}{WARNING:#} (will show with limited information)"+ "{WARNING_EMOJI} {WARNING}Failed to enrich branch {WARNING_BOLD}{branch}{WARNING_BOLD:#}{WARNING}: {e} (will show with limited information){WARNING:#}");}}