-
Notifications
You must be signed in to change notification settings - Fork 19
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
🐛 Error running with an empty cache dir: mkdir x file exists #122
Comments
chrisgavin
added a commit
that referenced
this issue
Feb 4, 2025
…r-check 🐹 🐛 fix cachedirectory.go to allow an existing empty dir as cache
Hope to get this ticket verified after the PR #123 has been merged! |
Thanks for the fix here. It looks like it works. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can't get to run a sync with a directory previously created from a Cache dir... The following error message is how it terminates...
Requirement
Here's the error:
Caution
mkdir /var/tmp/codeqltmp: file exists\nCould not create cache directory.
🐊 Faulty Code?
We should have first a check if the directory exists and it's empty...
We are missing a check if it exists and it's empty, then we should skip the creation of the dir...
codeql-action-sync-tool/internal/cachedirectory/cachedirectory.go
Lines 84 to 94 in 5bc50ff
🔧 Required Workflow
💻 Logs
The text was updated successfully, but these errors were encountered: