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

Easier to set temp dir, and all temp files are unlinked after use #11

Merged
merged 1 commit into from
Feb 25, 2014
Merged

Easier to set temp dir, and all temp files are unlinked after use #11

merged 1 commit into from
Feb 25, 2014

Conversation

apatil
Copy link
Contributor

@apatil apatil commented Jan 29, 2014

Hi Andris, thanks for 'pem'. I noticed that the existing fs.unlink at the end of each openssl call wasn't actually doing anything. This PR makes it so all the temp files actually get removed.

I also added an environment variable, PEMJS_TMPDIR, that lets you set a separate temp directory for pem from the global node.js one.

Cheers,
Anand

@apatil
Copy link
Contributor Author

apatil commented Feb 24, 2014

ping @andris9 ?

@andris9
Copy link
Collaborator

andris9 commented Feb 25, 2014

Sorry, somehow went unnoticed. Thanks!

andris9 added a commit that referenced this pull request Feb 25, 2014
Easier to set temp dir, and all temp files are unlinked after use
@andris9 andris9 merged commit 6b26894 into Dexus:master Feb 25, 2014
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.

None yet

2 participants