Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
Fix: Update `format_with_gutter` calls to pass empty string for `prefix`
Maximilian Roos6d5a5fc0dfb6
diff --git a/src/commands/configure_shell.rs b/src/commands/configure_shell.rsindex 3898c1eb9..b29ffd104 100644--- a/src/commands/configure_shell.rs+++ b/src/commands/configure_shell.rs@@ -360,7 +360,7 @@ fn prompt_for_confirmation(results: &[ConfigureResult]) -> Result<bool, String>);// Show the config line that will be added with gutter- eprint!("{}", format_with_gutter(&result.config_line));+ eprint!("{}", format_with_gutter(&result.config_line, ""));}eprintln!();diff --git a/src/main.rs b/src/main.rsindex 431a3efb4..a2f2d5590 100644--- a/src/main.rs+++ b/src/main.rs@@ -281,7 +281,7 @@ fn main() {result.action.description(),);// Show config line with gutter- print!("{}", format_with_gutter(&result.config_line));+ print!("{}", format_with_gutter(&result.config_line, ""));}// Success summarydiff --git a/tests/snapshots/integration__integration_tests__remove__remove_current_by_name.snap b/tests/snapshots/integration__integration_tests__remove__remove_current_by_name.snapindex 780a65315..3c9360b55 100644--- a/tests/snapshots/integration__integration_tests__remove__remove_current_by_name.snap+++ b/tests/snapshots/integration__integration_tests__remove__remove_current_by_name.snap@@ -20,6 +20,6 @@ success: trueexit_code: 0----- stdout -----✅ [32mRemoved worktree, returned to primary- [2mPath: [REPO][0m[0m+[2mPath: [REPO][0m[0m----- stderr -----