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

Server: Fix CSV deletion #530

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

AgnesToulet
Copy link
Contributor

I'm not sure why but the fs.unlinkSync function seems to return before the file is really deleted, causing the folder deletion to fail because it's not empty. The file is properly deleted but the folder stays there. This PR fixes this issue.

@AgnesToulet AgnesToulet added the type/bug Something isn't working label Jun 10, 2024
@AgnesToulet AgnesToulet requested a review from a team June 10, 2024 13:34
@AgnesToulet AgnesToulet self-assigned this Jun 10, 2024
@AgnesToulet AgnesToulet requested review from juanicabanas and lucychen-grafana and removed request for a team June 10, 2024 13:34
@AgnesToulet AgnesToulet merged commit 4f04533 into master Jun 11, 2024
4 checks passed
@AgnesToulet AgnesToulet deleted the agnestoulet/fix-csv-deletion branch June 11, 2024 13:10
@AgnesToulet AgnesToulet changed the title HTTP Server: Fix CSV deletion Server: Fix CSV deletion Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants