mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-05 08:10:39 +00:00
Print only first line of goal in arc run start output
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2b8da8f15b
commit
a019082dfc
1 changed files with 2 additions and 1 deletions
|
|
@ -274,7 +274,8 @@ pub async fn run_command(
|
|||
|
||||
let goal = graph.goal();
|
||||
if !goal.is_empty() {
|
||||
eprintln!("{} {goal}\n", styles.bold.apply_to("Goal:"));
|
||||
let first_line = goal.lines().next().unwrap_or(&goal);
|
||||
eprintln!("{} {first_line}\n", styles.bold.apply_to("Goal:"));
|
||||
}
|
||||
|
||||
print_diagnostics(&diagnostics, styles);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue