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

adds tmpdir option to fix #203 #230

Merged

Conversation

eugirdor
Copy link
Contributor

@eugirdor eugirdor commented Jan 5, 2016

Custom temporary directory can be supplied in opts.tmpdir or from the command line switch --tmpdir. This address issue #203.

@malept
Copy link
Member

malept commented Jan 5, 2016

Thanks for the PR! Perhaps add a test to make sure the option works as expected?

@eugirdor
Copy link
Contributor Author

eugirdor commented Jan 5, 2016

@malept Any idea what might have caused the one test to fail? Doesn't seem related to my changes.

@malept
Copy link
Member

malept commented Jan 5, 2016

That particular test intermittently fails (and I don't know why). Don't worry about it.

@eugirdor
Copy link
Contributor Author

eugirdor commented Jan 5, 2016

Alright, thanks. I'll add a test in a bit and push again.

@eugirdor
Copy link
Contributor Author

eugirdor commented Jan 5, 2016

@malept Test added

@@ -207,6 +207,10 @@ If the file extension is omitted, it is auto-completed to the correct extension

Whether SSL certificates are required to be valid when downloading Electron. **Defaults to `true`**.

`tmpdir` - *String*
Copy link
Member

Choose a reason for hiding this comment

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

Minor nit - this is the wrong indentation. There should be no spaces between the beginning of the line and the option name. The description's indentation is fine.

@malept
Copy link
Member

malept commented Jan 18, 2016

Would you mind rebasing and squashing the commits after you fix the minor docs issue?

@eugirdor eugirdor force-pushed the feature/configurable-temp-directory branch from ab9042b to ee32807 Compare January 19, 2016 19:05
@eugirdor eugirdor force-pushed the feature/configurable-temp-directory branch from ee32807 to b2ce937 Compare January 19, 2016 19:07
@eugirdor
Copy link
Contributor Author

@malept Whitespace fixed and commits squashed

malept added a commit that referenced this pull request Jan 19, 2016
@malept malept merged commit b789482 into electron:master Jan 19, 2016
@malept
Copy link
Member

malept commented Jan 19, 2016

Thanks!

@malept malept added this to the Next major or minor version after 5.2.1 milestone Feb 17, 2016
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