From 0c9148e1c73791ef4d85dcaa071b538026f7943d Mon Sep 17 00:00:00 2001 From: naps62-yolo Date: Mon, 25 May 2026 10:20:00 +0000 Subject: [PATCH] fix(maestro): drop duplicate `wrote ...` line from `maestrod configure` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `configure::run` printed the "wrote" line whenever stdin was a TTY, and `main::configure` printed it again unconditionally — so an interactive run printed it twice. Library now stays silent; the binary is the single owner of that confirmation. Co-Authored-By: Claude Opus 4.7 (1M context) --- crates/maestro-daemon/src/configure.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/maestro-daemon/src/configure.rs b/crates/maestro-daemon/src/configure.rs index 44afc19..0621c84 100644 --- a/crates/maestro-daemon/src/configure.rs +++ b/crates/maestro-daemon/src/configure.rs @@ -112,9 +112,7 @@ pub fn run( }; file.save(path)?; - if interactive_ok { - writeln!(handle, "wrote {}", path.display())?; - } + let _ = handle; // stdout handle only used during prompts; binary prints "wrote ..." Ok(path.to_path_buf()) }