[BUG] npm explore
shell spawning without arguments immediately terminates (!isWindows)
#783
Labels
Bug
thing that needs fixing
What / Why
The shell spawned by
npm explore <package>
(no additional arguments) terminates immediately.When
npm explore <package>
Where
npm cli
How
The shell is spawned erroneously with the arguments
['-c', '']
. This is because of a faultyargs
truthiness check rather than a length check.Current Behavior
Steps to Reproduce
Expected Behavior
Who
References
The text was updated successfully, but these errors were encountered: