Stops extra empty temporary data being generated by awardle · Pull Request #138 · Mongo2Go/Mongo2Go
If no data directory is provided, the code uses a temporary directory. However when the temporary directory name is retrieved the directory was also created.
Later on in the code these directory names are modified to include the port and sometimes a random string. This means the temporary directory is never used in the orginal form and the clean code in dispose does not remove it.
This modification stops the generation of the original temporary folder so only the modified folder is created.
Fixes: #136