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

fix(node): Remove leading slash in Windows filenames #10147

Merged

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Jan 11, 2024

There were no Node stack parser tests for Windows file:// URLs.

It turns out we were retaining a leading slash in the filename (ie. /C:/some/path).

This was already handled in Electron via path normalisation but it can cause issues with module name resolution.

@AbhiPrasad AbhiPrasad merged commit 45ef67e into getsentry:develop Jan 11, 2024
75 checks passed
@timfish timfish deleted the fix/node-windows-leading-slash branch January 11, 2024 16:55
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