Skip to content

Ensure file is properly closed after writing in BlockInstallationBlock#3

Open
mandlinsarah wants to merge 1 commit intomasterfrom
update-block-08-19-2024
Open

Ensure file is properly closed after writing in BlockInstallationBlock#3
mandlinsarah wants to merge 1 commit intomasterfrom
update-block-08-19-2024

Conversation

@mandlinsarah
Copy link
Owner

This change improves file handling in the BlockInstallationBlock by ensuring the file is properly closed after writing the given code string. This follows good practices by using a context manager and should be non-intrusive to the existing functionality.

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.

1 participant