Skip to content

Conversation

@WolfGangS
Copy link
Contributor

Add a fallback method to try and support scripts in sub folders being used.

This only comes into effect if the current method finds nothing.

Copy link
Collaborator

@Rider-Linden Rider-Linden left a comment

Choose a reason for hiding this comment

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

Should we put this as an option toggle?
On a tangent note, what should the correct behavior be if we find multiple matching files.

@Rider-Linden Rider-Linden merged commit 8a19495 into secondlife:develop Nov 20, 2025
3 checks passed
@WolfGangS
Copy link
Contributor Author

@Rider-Linden

Should we put this as an option toggle? On a tangent note, what should the correct behavior be if we find multiple matching files.

A toggle wouldn't be a bad idea, if we could get some "standard" for file naming for subdirectories that would be good.

Multiple files is more an issue with the default glob imo, and that's, fine to go for "shortest" match I think.

So SL script main would match to <workspace>/main.luau rather than <workspace>/sub/main.luau

@WolfGangS WolfGangS deleted the feature/script-match-fallback branch December 7, 2025 07:13
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.

2 participants