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

Ignore failed writes when loading buffer #149

Merged
merged 1 commit into from
May 15, 2024

Conversation

phijor
Copy link
Contributor

@phijor phijor commented May 14, 2024

Previously, loading buffers of read-only files wasn't possible, as cornelis would try to write the file before loading (which would fail and abort the command).

Add silent to the command to ignore failed writes. This should be a safe fallback.

Fixes #116.

Previously, loading buffers of read-only files wasn't possible, as
cornelis would try to write the file before loading (which would fail
and abort the command).

Add `silent` to the command to ignore failed writes.  This should be
a safe fallback.

Fixes isovector#116.
@isovector
Copy link
Owner

Fantastic, thank you!

@isovector isovector merged commit 5fb7f1d into isovector:master May 15, 2024
16 checks passed
@phijor phijor deleted the fix-loading-ro-files branch May 15, 2024 09:18
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.

Loading of read-only modules fails
2 participants