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

Better handling of the codebehind file #9

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

TwitchBronBron
Copy link
Member

@TwitchBronBron TwitchBronBron commented Jan 8, 2025

Instead of assuming the codebehind file will always be the xml file name but with .brs extension, we now generate a totally new file name that is guaranteed to be unique. (i.e. SomeComponent-findnode.brs).

This has the added benefit of also avoiding overwriting the actual codebehind file if it exists but without an init() function.

@TwitchBronBron TwitchBronBron merged commit 32c1f79 into master Jan 8, 2025
4 checks passed
@TwitchBronBron TwitchBronBron deleted the better-codebehind-handling branch January 8, 2025 19:50
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