Skip to content

fix: create the cache directory before writing last-checked file #586

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

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

thedadams
Copy link
Contributor

If the cache directory is gone, then, currently, writing the last-checked file fails. This change ensures that the directory exists before trying to write the file.

If the cache directory is gone, then, currently, writing the
last-checked file fails. This change ensures that the directory exists
before trying to write the file.

Co-authored-by: Nick Hale <[email protected]>
Signed-off-by: Donnie Adams <[email protected]>
@g-linville
Copy link
Member

Whoops! Thanks for catching this

@thedadams thedadams merged commit 07b3be6 into gptscript-ai:main Jun 28, 2024
8 checks passed
@thedadams thedadams deleted the create-cred-cache-dirs branch June 28, 2024 14:37
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.

3 participants