Skip to content

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

Merged
utsab merged 3 commits into
freeCodeCamp:mainfrom
NewtonLC:build-challenge-map-fix
Jun 16, 2026
Merged

Fix Path Handling in Build Challenge Map Script to Support Windows#594
utsab merged 3 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

@utsab utsab left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Looks good. Thanks for catching this edge case.

@utsab utsab merged commit 62b9d5e into freeCodeCamp:main Jun 16, 2026
3 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.

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

2 participants