Closed Gusted closed 3 years ago
This fixes a issue I've been running into, whereby the tmp/firefox-xxxx wasn't empty(polluted with some tracing data?) and firefox-profile will error about not able to remove the directory due to it wasn't empty.
tmp/firefox-xxxx
Thanks for opening a PR.
I think it is safe, we _cleanOnExit() only if the destinationDir option is provided which means we are only cleaning tmp dir...
_cleanOnExit()
destinationDir
tmp
👋 I just published firefox-profile@4.2.1.
This fixes a issue I've been running into, whereby the
tmp/firefox-xxxx
wasn't empty(polluted with some tracing data?) and firefox-profile will error about not able to remove the directory due to it wasn't empty.