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

double-wrapping #46

Open
isaacs opened this issue Feb 9, 2017 · 0 comments
Open

double-wrapping #46

isaacs opened this issue Feb 9, 2017 · 0 comments

Comments

@isaacs
Copy link
Collaborator

isaacs commented Feb 9, 2017

Example script that demonstrates the issue: https://gist.github.com/isaacs/05bece5f8cdd21ea3a38e62c09f2f694

If a wrap calls require('spawn-wrap').runMain(), then this gets messed up when there's more than one shim, because the shim overwrites it, so the second shim gets clobbered.

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

No branches or pull requests

1 participant