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: Do not crash when nyc is run inside itself. #1068

Merged
merged 1 commit into from Apr 16, 2019

Conversation

coreyfarrell
Copy link
Member

Fixes #1067

@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.65% when pulling c91c10a on coreyfarrell:issue-1067 into e21721a on istanbuljs:master.

1 similar comment
@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.65% when pulling c91c10a on coreyfarrell:issue-1067 into e21721a on istanbuljs:master.

@isaacs
Copy link
Collaborator

isaacs commented Apr 16, 2019

This looks good to me. We should do a deeper investigation/design some day to work out how nested NYC's should behave, but not crashing is better than crashing in this case.

@coreyfarrell coreyfarrell merged commit c4fcf5e into istanbuljs:master Apr 16, 2019
@coreyfarrell coreyfarrell deleted the issue-1067 branch April 16, 2019 18:10
coreyfarrell added a commit to coreyfarrell/istanbul-lib-processinfo that referenced this pull request Apr 16, 2019
coreyfarrell added a commit to coreyfarrell/istanbul-lib-processinfo that referenced this pull request Apr 16, 2019
coreyfarrell added a commit to istanbuljs/istanbul-lib-processinfo that referenced this pull request Apr 16, 2019
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.

nyc@14 fails with error: Cannot read property 'children' of undefined
3 participants