Last 12 weeks · 0 commits
4 of 6 standards met
Recursive removal can fail: https://github.com/sindresorhus/tempy/blob/098c043a85243c407c22a9571f5d0b5c6cdf6647/index.js#L20 Node.js lets us configure a for some of these errors, see the documentation. should do at least one retry, or maybe make it configurable, but perhaps also have an option to ignore , , , , or errors.
As requested in https://github.com/sindresorhus/tempy/pull/33. I guess it could be useful for when you want to semantically group all the temp directory usage in one directory for easier manual cleanup. This is not really useful for the methods though as they clean up themselves. I'm not entirely sold on this though, as every option adds complexity for the user and most users will not need this. I'm also concerned users will think they need this when most often, they don't.
Repository: sindresorhus/tempy. Description: Get a random temporary file or directory path Stars: 448, Forks: 26. Primary language: JavaScript. Languages: JavaScript (89.6%), TypeScript (10.4%). License: MIT. Latest release: v3.2.0 (5mo ago). Open PRs: 0, open issues: 1. Last activity: 5mo ago. Community health: 85%. Top contributors: sindresorhus, Richienb, BendingBender, douglasduteil, jonahsnider, MrJohz, KSR-Yasuda, LinusU, transitive-bullshit.