cargo horizon-mod check: list the commands a mod runs

Main's check reports every output; the command capability adds one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-25 10:48:35 +01:00
parent c2c8df4542
commit 5262effa7e
+1
View File
@@ -214,6 +214,7 @@ fn play(path: &Path, report: &mut Report) -> Result<(), String> {
Output::Feedback { text, error } => {
format!("{}: {text}", if error { "error" } else { "feedback" })
}
Output::Command { line } => format!("command: /{line}"),
Output::Stopped { reason, .. } => return Err(format!("it stopped: {reason}")),
});
}