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(nextjs): Escape Windows paths when writing wrapper templates #6101

Merged
merged 1 commit into from Nov 2, 2022

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Nov 1, 2022

Closes #6085

I suppose it was inevitable that an issue with Windows was an issue with paths!

This PR escapes the backslashes in the paths before they're written to the templates.

@timfish timfish self-assigned this Nov 1, 2022
Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

We should start running Windows CI even though it's horribly slow

Perhaps we only turn it on for a single node version?

@AbhiPrasad AbhiPrasad merged commit 621e0b3 into getsentry:master Nov 2, 2022
@timfish
Copy link
Collaborator Author

timfish commented Nov 2, 2022

We should start running Windows CI

Yes, running the nextjs integration tests on a single node version would cover a lot!

@timfish timfish deleted the fix/windows-paths branch November 2, 2022 08:53
@AbhiPrasad
Copy link
Member

AbhiPrasad commented Nov 2, 2022

Yes, running the nextjs integration tests on a single node version would cover a lot!

Updated #6053 to include this info!

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.

Next.js auto wrappers are creating wildcard exports and crashing builds
2 participants