()
| 2326 | }, 200); |
| 2327 | } |
| 2328 | const _stopSpinner = () => { |
| 2329 | if (_spinnerInterval) { |
| 2330 | clearInterval(_spinnerInterval); |
| 2331 | _spinnerInterval = null; |
| 2332 | if (!_fullscreenRef && process.stdout.isTTY) { |
| 2333 | process.stdout.write('\r' + ' '.repeat(50) + '\r'); // clear spinner line |
| 2334 | } else if (_fullscreenRef) { |
| 2335 | _fullscreenRef.setStatus?.(''); |
| 2336 | } |
| 2337 | } |
| 2338 | }; |
| 2339 | |
| 2340 | // Plugin hook: pre_request (before plugin provider check so it fires for all providers) |
| 2341 | if (pluginLoader) { |
no test coverage detected