sindresorhus / ora

Elegant terminal spinner
MIT License
9.08k stars 269 forks source link

The ora.succeed() method behaves inconsistently between Node.js version 16 and version 19. #238

Closed wangyangexpo closed 5 months ago

wangyangexpo commented 5 months ago

// node version 16 const checking = ora(); checking.succeed('success'); // will exit the process Immediately

// node version 19 or 21 const checking = ora(); checking.succeed('success'); // does not exit the process until timeout