()
| 258 | } |
| 259 | |
| 260 | stop(): void { |
| 261 | if (this.stopped) return |
| 262 | this.stopped = true |
| 263 | if (this.timerId) { |
| 264 | clearInterval(this.timerId) |
| 265 | this.timerId = undefined as never |
| 266 | } |
| 267 | if (this.totalItems > 0) { |
| 268 | this.processedItems = this.totalItems // Ensure final state is 100% |
| 269 | this.render(true) // Final render |
| 270 | if (canRewriteStdoutLine()) process.stdout?.write("\n") // Move to the next line |
| 271 | } |
| 272 | } |
| 273 | } |
| 274 | |
| 275 | export const resolveTraceTsconfig = ( |
no test coverage detected