-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-cleanup doesn't work #6
Comments
Thanks for fixing this and the PR! (By the way, I recommend using the |
This issue still happens even with the fixes from #5. I haven't looked into why it's happening but I'm just resorting to manual cleanup for now. |
Oh, I missed that the automatic cleanup only happens using the |
Automatic cleanup should happen even without
Some people (like me) prefer not having magic code that's run on tmp.withDir(path => {
// access the directory here, outside of this scope it is automatically cleaned
return aPromise; // the dir gets deleted after a promise you return from here resolve.
}); |
Okay. That makes more sense. Thanks for filling me in. Also thank you for adding me to the repo. That's the first time that's happened to me! |
Auto-cleanup directories isn't working for me. Here's what I'm doing:
I am using the "unsafe cleanup" feature.
The text was updated successfully, but these errors were encountered: