Skip to content

Conversation

reniowood
Copy link

Why

Since os.tmpDir doesn't return the actual path to the temp directory (i.e. MacOS), it is unable to use this library together with a library needs to access the actual path of the temp directory.

How

This pull request replaces os.tmpdir() with temp-dir library to achieve the object because the library returns the real path of the temp directory (i.e. /private/var instead of /var on MacOS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant