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

Enable execution in a particular context directory. #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nathanhammond
Copy link

We use this library inside of Ember CLI's testing story, but we need a way to be able to execute in a particular directory. The current pattern for doing that looks like this:

process.chdir(...);
quickTemp.makeOrRemake(...);
process.chdir(...)

That's far less than ideal. This PR enables this invocation pattern:
quickTemp.makeOrRemake({}, 'property', 'className', directory);

Thoughts?

@joliss
Copy link
Owner

joliss commented Feb 14, 2017

I don't really want to maintain this package anymore. I don't think ending up with tmp directories in CWD or other random places is a terribly great pattern, so it would probably be better to write something more sensible, either from scratch or based on this package. In any case, I don't want to be the one maintaining it. :-)

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.

2 participants