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 leftover temporary directories #45

Merged
merged 1 commit into from
Aug 3, 2020

Conversation

vmmello
Copy link
Contributor

@vmmello vmmello commented Aug 2, 2020

Clitest leaves a few leftover temp directories when run, in some conditions.

Move the block of code that creates the temporary directory closer to the
point when the directory is actually used. It was being created too early,
making options like --help and --verbose to create directories unnecessarily
and leave leftovers.

Fixes issue #44 .

Move the block of code that creates the temporary directory closer to the
point when the directory is actually used. It was being created too early,
making options like --help and --verbose to create directories unnecessarily
and leave leftovers.
@aureliojargas
Copy link
Owner

Nice finding, thanks @vmmello!

@aureliojargas aureliojargas merged commit 2acd27b into aureliojargas:master Aug 3, 2020
vmmello added a commit to vmmello/clitest that referenced this pull request Aug 3, 2020
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