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

extract cache-file-not-found-or-stale #122

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

inmanturbo
Copy link
Contributor

@inmanturbo inmanturbo commented Mar 8, 2024

I have a use case where I need to change the way sushi does file operations on a cache file that is not found or stale.

This PR extracts the logic found in the 'cache-file-not-found-or-stale' state to a protected method.

This doesn't change the logic. It just makes it possible override it without having to override the whole bootSushi() method.

@calebporzio calebporzio reopened this Mar 12, 2024
@calebporzio calebporzio merged commit 516607e into calebporzio:main Mar 12, 2024
10 of 25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants