Closed brianpeiris closed 6 years ago
escapeArgs
asPath
wouldn't have worked here. npm wants the whole path quoted on windows.
Hmm. Not sure why some tests timed out on travis. Will look into it later.
Also interesting to note that the test suite was failing on my windows machine, since my user directory has a space in it. Appveyor's user does not have any spaces. The test suite passes on my machine with this fix.
@brianpeiris This project was relicensed to ISC (from CC0-1.0) since you put up this PR. Are you ok with me merging this under that license instead?
Yup, fine with me.
Is there any update on this issue? I cannot use npm on my machine because of it.
cc @noahleigh does this seem alright to you?
@zkat It works for me.
My only question is whether it would be better to use child.escapeArg
rather than manual quoting, since that function seems to be purpose-built for this kind of scenario (with platform-specific conditions built-in)?
Closing this in favor of #181 (which includes @brianpeiris' commit)
Closes #100