-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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: npm explore spawn shell correctly #784
Conversation
Hey @jasisk thanks for contributing this! Is it possible for you to write a failing tests for this bug, so as your introduced fix causes the tests to pass? Let us know if you need any help :D |
Definitely! I wandered into the tests to see if there was already a convention for testing edit: happy for the free-for-all if there isn't something I should reference—I just try to leave things looking like how they were before I got there. Whatever you advise. 😀 |
Hey @jasisk looks like the only place that command comes up is in Again, if you need any help, let us know! :D |
This LGTM for the next v6 patch release. I'll pull into the v7 branch and add tests now, since the tests for explore are pretty lacking anyway. |
Completely forgot about this one. Thanks for pulling it in, @isaacs. Happy to take care of anything you need here. |
What / Why
Fix
npm explore <packagename>
(with no additional arguments) shell spawning.References
npm explore
shell spawning without arguments immediately terminates (!isWindows) #783