Skip to content

Commit 67d7c5a

Browse files
committed
style: use --- separator for compact summary
1 parent 5d10eb4 commit 67d7c5a

13 files changed

Lines changed: 15 additions & 19 deletions

File tree

crates/vite_task/src/session/reporter/summary.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -661,11 +661,7 @@ pub fn format_compact_summary(summary: &LastRunSummary) -> Vec<u8> {
661661
let mut buf = Vec::new();
662662

663663
// Thin line separator
664-
let _ = writeln!(
665-
buf,
666-
"{}",
667-
"────────────────────────────────────────────────".style(Style::new().bright_black())
668-
);
664+
let _ = writeln!(buf, "{}", "---".style(Style::new().bright_black()));
669665

670666
if is_single_task {
671667
// Single task cache hit

crates/vite_task_bin/tests/e2e_snapshots/fixtures/colon-in-name/snapshots/read file with colon in name.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ $ node read_node_fs.js
77
> vp run read_colon_in_name # cache hit
88
$ node read_node_fs.jscache hit, replaying
99

10-
────────────────────────────────────────────────
10+
---
1111
[vp run] cache hit, <duration> saved.

crates/vite_task_bin/tests/e2e_snapshots/fixtures/replay-logs-chronological-order/snapshots/replay logs chronological order.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ $ node build.js ✓ cache hit, replaying
193193
[echo.js] --------------------------------
194194
[build.js] main process end
195195

196-
────────────────────────────────────────────────
196+
---
197197
[vp run] cache hit, <duration> saved.
198198
> vp run build # cache hit
199199
$ node build.js ✓ cache hit, replaying
@@ -291,5 +291,5 @@ $ node build.js ✓ cache hit, replaying
291291
[echo.js] --------------------------------
292292
[build.js] main process end
293293

294-
────────────────────────────────────────────────
294+
---
295295
[vp run] cache hit, <duration> saved.

crates/vite_task_bin/tests/e2e_snapshots/fixtures/stdin-inheritance/snapshots/multiple tasks get null stdin.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ expression: e2e_outputs
77

88
$ read-stdincache disabled: no cache config
99

10-
────────────────────────────────────────────────
10+
---
1111
[vp run] 0/2 cache hit (0%). (Run `vp run --verbose` for full details)

crates/vite_task_bin/tests/e2e_snapshots/fixtures/stdio-detection/snapshots/multiple tasks, cache disabled.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ stdin:not-tty
1313
stdout:not-tty
1414
stderr:not-tty
1515

16-
────────────────────────────────────────────────
16+
---
1717
[vp run] 0/2 cache hit (0%). (Run `vp run --verbose` for full details)

crates/vite_task_bin/tests/e2e_snapshots/fixtures/stdio-detection/snapshots/multiple tasks, cache hit.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ stdin:not-tty
1313
stdout:not-tty
1414
stderr:not-tty
1515

16-
────────────────────────────────────────────────
16+
---
1717
[vp run] 0/2 cache hit (0%). (Run `vp run --verbose` for full details)
1818
> vp run -r check-tty-cached
1919
~/packages/other$ check-ttycache hit, replaying
@@ -26,5 +26,5 @@ stdin:not-tty
2626
stdout:not-tty
2727
stderr:not-tty
2828

29-
────────────────────────────────────────────────
29+
---
3030
[vp run] 2/2 cache hit (100%), <duration> saved. (Run `vp run --verbose` for full details)

crates/vite_task_bin/tests/e2e_snapshots/fixtures/stdio-detection/snapshots/multiple tasks, cache miss.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ stdin:not-tty
1313
stdout:not-tty
1414
stderr:not-tty
1515

16-
────────────────────────────────────────────────
16+
---
1717
[vp run] 0/2 cache hit (0%). (Run `vp run --verbose` for full details)

crates/vite_task_bin/tests/e2e_snapshots/fixtures/stdio-detection/snapshots/single task, cache hit.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ stdin:not-tty
1313
stdout:not-tty
1414
stderr:not-tty
1515

16-
────────────────────────────────────────────────
16+
---
1717
[vp run] cache hit, <duration> saved.

crates/vite_task_bin/tests/e2e_snapshots/fixtures/stdio-graph-criteria/snapshots/multi-node ancestor forces piped for nested single-node graph.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ stdin:not-tty
1313
stdout:not-tty
1414
stderr:not-tty
1515

16-
────────────────────────────────────────────────
16+
---
1717
[vp run] 0/2 cache hit (0%). (Run `vp run --verbose` for full details)

crates/vite_task_bin/tests/e2e_snapshots/fixtures/stdio-graph-criteria/snapshots/single-node chains inherit even with multi-node sibling graph.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ stdin:not-tty
2323
stdout:not-tty
2424
stderr:not-tty
2525

26-
────────────────────────────────────────────────
26+
---
2727
[vp run] 0/4 cache hit (0%). (Run `vp run --verbose` for full details)

0 commit comments

Comments
 (0)