Skip to content

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

Merged
AbhiPrasad merged 1 commit intogetsentry:developfrom
timfish:fix/node-windows-leading-slash
Jan 11, 2024
Merged

fix(node): Remove leading slash in Windows filenames#10147
AbhiPrasad merged 1 commit intogetsentry:developfrom
timfish:fix/node-windows-leading-slash

Conversation

@timfish
Copy link
Copy Markdown
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
@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