From b6347171c9ceaf508d28ffd40fac241970a1c981 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 22 Feb 2026 21:40:38 +0900 Subject: fix(bump): align output messages with Composer output MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - "Nothing to bump." → "No requirements to update in ." - "N constraint(s) bumped successfully." → " has been updated (N changes)." - Dry-run now shows " would be updated with:" followed by " - require.: " per change, matching Composer's format - Also update bump message in update command for consistency Co-Authored-By: Claude Opus 4.6 --- crates/mozart/src/commands/update.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'crates/mozart/src/commands/update.rs') diff --git a/crates/mozart/src/commands/update.rs b/crates/mozart/src/commands/update.rs index 7924eca..7fbec1c 100644 --- a/crates/mozart/src/commands/update.rs +++ b/crates/mozart/src/commands/update.rs @@ -1104,7 +1104,10 @@ pub async fn execute( updated_lock.content_hash = new_hash; updated_lock.write_to_file(&lock_path)?; - console.info(&format!("{} constraint(s) bumped.", bumped)); + console.info(&format!( + "{} has been updated ({bumped} changes).", + composer_json_path.display() + )); } } -- cgit v1.3.1