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

Avoid launching editor during image export #2124

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

glopesdev
Copy link
Member

When the --export-image flag was introduced we failed to ensure the editor is not launched during package restore. This PR fixes it by validating the launch editor flag against the state of the export image flag.

Fixes #2096

@glopesdev glopesdev added the fix Pull request that fixes an issue label Feb 3, 2025
@glopesdev glopesdev added this to the 2.9 milestone Feb 3, 2025
Copy link
Member

@PathogenDavid PathogenDavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Acceptable as-is but did have a minor suggestion for readability.

Bonsai/Program.cs Outdated Show resolved Hide resolved
@glopesdev glopesdev merged commit 8668cf4 into bonsai-rx:main Feb 4, 2025
10 checks passed
@glopesdev glopesdev deleted the issue-2096 branch February 4, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Pull request that fixes an issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bonsai --export-image can block due to failures from restoring the environment
2 participants