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 error handling in the rewrite function #468

Merged
merged 1 commit into from Jan 23, 2024

Conversation

Qwerty-133
Copy link
Contributor

Currently, if an error is raised while using files from the rewrite function, then the temporary file is deleted before closing it.

This is okay on unix, but unlinking open files causes an error on Windows.

@theskumar theskumar merged commit 6ff1391 into theskumar:main Jan 23, 2024
6 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
Development

Successfully merging this pull request may close these issues.

None yet

2 participants