8000 Remove file extensions from relative paths in `ModulePath` by vrn-sn · Pull Request #325 · luau-lang/lute · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Remove file extensions from relative paths in ModulePath #325

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

Merged
merged 2 commits into from
Jun 5, 2025

Conversation

vrn-sn
Copy link
Member
@vrn-sn vrn-sn commented Jun 5, 2025

The absolute path stored internally in ModulePath does not contain any .luau or init.luau suffixes. They are added back on when a file path is requested by calling getRealPath(). This PR does the same thing for relative paths.

@vrn-sn vrn-sn requested a review from aatxe June 5, 2025 18:36
@aatxe aatxe merged commit 87a10ec into primary Jun 5, 2025
7 checks passed
@aatxe aatxe deleted the vrn-sn/fix-relative-path-suffixing branch June 5, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0