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: use original source path if no sources #135

Merged
merged 1 commit into from
Mar 30, 2021
Merged

fix: use original source path if no sources #135

merged 1 commit into from
Mar 30, 2021

Conversation

viceice
Copy link
Contributor

@viceice viceice commented Mar 2, 2021

If a generated sourcemap has no sources / files (can happen from typescript type only imports) the originla source files path should be tried.

fixes #134

@bcoe bcoe merged commit 64b2c86 into istanbuljs:master Mar 30, 2021
@bcoe
Copy link
Member

bcoe commented Mar 30, 2021

@viceice thank you for the patch, sorry it took me the better part of a month to land.

@viceice viceice deleted the patch-1 branch March 30, 2021 04:52
@viceice
Copy link
Contributor Author

viceice commented Mar 30, 2021

NP, thank for finally merging 🎉

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.

TypeError: Cannot read property 'replace' of undefined
2 participants