Commit 290eeb2
Fix coverage script to suppress spinner output in JSON/simple modes
The coverage:percent script was outputting spinner text after JSON output,
corrupting the JSON format when used with --json flag. This prevents proper
parsing by CI workflows and other programmatic consumers.
Changes:
- Only start/stop spinner in default output mode
- Suppress spinner completely when using --json or --simple flags
- Ensures clean JSON output for programmatic consumption
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent c920b3e commit 290eeb2
1 file changed
+13
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
43 | 48 | | |
44 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
45 | 52 | | |
46 | 53 | | |
47 | 54 | | |
| |||
0 commit comments