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

Convert file url to path #687

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

NikolayMakhonin
Copy link

fix this bug: istanbuljs/nyc#1473
It looks like typescript generated a source map with file urls instead the file paths.

The url.fileURLToPath function will work in Node >= v10.12.0
https://nodejs.org/api/url.html#urlfileurltopathurl

NikolayMakhonin and others added 2 commits June 19, 2022 11:42
fix this bug: istanbuljs/nyc#1473
It looks like typescript generated a source map with file urls instead the file paths.

The url module will work in Node >= v10.12.0
https://nodejs.org/api/url.html#urlfileurltopathurl
@bcoe
Copy link
Member

bcoe commented Jul 13, 2022

@NikolayMakhonin thank you for digging into this 👏 any chance we can add a test?

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.

None yet

2 participants