Skip to content
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

fix: fail early if there is no tmp dir specified #177

Merged
merged 1 commit into from
Mar 20, 2019
Merged

Conversation

silkentrance
Copy link
Collaborator

@silkentrance silkentrance commented Oct 6, 2018

Fixes #176.

This will cause _generateTmpName to fail early if both opts.dir and tmpDir are undefined.

@silkentrance
Copy link
Collaborator Author

Still working on tests for this...

Copy link
Owner

@raszi raszi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also add tests.

lib/tmp.js Outdated Show resolved Hide resolved
lib/tmp.js Outdated Show resolved Hide resolved
@raszi raszi changed the title fix gh-176: fail early if there is no tmp dir specified fix: fail early if there is no tmp dir specified Oct 8, 2018
@silkentrance
Copy link
Collaborator Author

@raszi thank you for the review. I will try to address these issues ASAP.

@silkentrance
Copy link
Collaborator Author

Please also add tests.

Missing tests have been added.

@silkentrance
Copy link
Collaborator Author

@raszi tests have been added.

@silkentrance
Copy link
Collaborator Author

Merging now as all change requests have been met.

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

Successfully merging this pull request may close these issues.

Windows Temp file not working electron
2 participants