Skip to content

fix(typescript): Original source absolute path resolution updates #129

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 1 commit into from
Sep 3, 2024

Conversation

ornariece
Copy link
Contributor

@ornariece ornariece commented Aug 6, 2024

If I'm getting this correctly, the absolute path to the original source file should be solved relatively not from the source map root directory, but rather from the source map file's parent directory. A slight nuance that breaks the mapping when using a nested directory structure for the generated source files.

The change required allowing a recursive check of the source map root directory when checking for .map files.

@JakeShirley JakeShirley requested a review from chmeyer-ms August 9, 2024 16:32
Copy link
Contributor

@chmeyer-ms chmeyer-ms left a comment

Choose a reason for hiding this comment

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

Thanks, this looks right to me.

@JakeShirley JakeShirley changed the title fix original source absolute path resolution fix(typescript): original source absolute path resolution Sep 3, 2024
@JakeShirley JakeShirley changed the title fix(typescript): original source absolute path resolution fix(typescript): Original source absolute path resolution updates Sep 3, 2024
@JakeShirley JakeShirley merged commit 75aa3a8 into Mojang:main Sep 3, 2024
1 of 2 checks passed
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.

3 participants