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 #346 - cleanup cache enabling #357

Closed
wants to merge 1 commit into from
Closed

Fix #346 - cleanup cache enabling #357

wants to merge 1 commit into from

Conversation

cheeseplus
Copy link
Contributor

This fixes #346 but also radically simplifies the cache enabling code.

  • default is now false
  • no reason to calculate windows vs linux path as we only ever enable automatically for non-windows
  • eliminate enable_cache? method, this wasn't really needed and made the logic more confusing
  • if cache_directory is set by the user, we honor that first

I don't see any downsides to this one but given it's changing defaults would like to make sure I haven't missed something.

Signed-off-by: Seth Thomas [email protected]

Signed-off-by: Seth Thomas <[email protected]>
@cheeseplus
Copy link
Contributor Author

In forgetting to write tests it looks like this just breaks things a different way - will figure that out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow the ability to explicitly enable caching
3 participants