Commit d20589b
committed
Standardize coverage script spinner handling with other Socket projects
Consolidate spinner management to be consistent across all Socket projects.
Instead of stopping spinner at each output point, prevent it from starting
when using --json or --simple flags.
Changes:
- Only start/stop spinner in default output mode
- Remove redundant spinner.stop() calls in output branches
- Maintains consistent pattern across socket-registry, socket-cli, socket-sdk-js1 parent d99a1ac commit d20589b
1 file changed
+13
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
42 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
123 | 130 | | |
124 | 131 | | |
125 | 132 | | |
126 | | - | |
127 | | - | |
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
131 | | - | |
132 | 136 | | |
133 | 137 | | |
134 | | - | |
135 | 138 | | |
136 | 139 | | |
137 | 140 | | |
| |||
0 commit comments