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: use create_dir_all to also create .cache and other dirs #741

Merged
merged 1 commit into from
Sep 16, 2024

Conversation

ErinvanderVeen
Copy link
Collaborator

Use create_dir_all over two invocations to create_dir.

Issue: #740

Description

We manually created ~/.cache/topiary and ~/.cache/topiary/language. By using create_dir_all we can guarantee that all parent directories are also created.

Checklist

Checklist before merging:

  • CHANGELOG.md updated
  • README.md up-to-date

@ErinvanderVeen ErinvanderVeen linked an issue Sep 16, 2024 that may be closed by this pull request
@ErinvanderVeen ErinvanderVeen merged commit 326424a into main Sep 16, 2024
9 checks passed
@ErinvanderVeen ErinvanderVeen deleted the 740-topiary-errors-if-cache-does-not-exist branch September 16, 2024 09:06
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.

Topiary errors if ~/.cache does not exist
2 participants