Skip to content

Fix Path Handling in Build Challenge Map Script to Support Windows#594

Open
NewtonLC wants to merge 2 commits into
freeCodeCamp:mainfrom
NewtonLC:build-challenge-map-fix
Open

Fix Path Handling in Build Challenge Map Script to Support Windows#594
NewtonLC wants to merge 2 commits into
freeCodeCamp:mainfrom
NewtonLC:build-challenge-map-fix

Conversation

@NewtonLC
Copy link
Copy Markdown
Contributor

Checklist:

Closes #592

This PR uses Node's fileURLToPath utility to set up the path for building the challenge map. Using fileURLToPath ensures proper cross-platform path resolution when writing files.

@NewtonLC NewtonLC requested a review from a team as a code owner May 12, 2026 21:44
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.

Fix path handling in scripts/build-challenge-map-graphql.mjs to support Windows (double C:/ bug)

1 participant