This repository has been archived by the owner on Jan 6, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 247
cross-env eats backslashes #167
Labels
Comments
Normally, you pass args to npm scripts via https://docs.npmjs.com/cli/run-script Otherwise, you're just passing the args to Have you tried the documented way like this?:
|
Yes, looks like it's probably a legit bug. Feel free to make a pull request to fix this :) |
@greggman LOL at the thumbs down for trying to give you legitimate advice for the code you actually posted. Your 'typo' makes a huge difference in the behavior, but I guess we're supposed to read your mind instead of your text. |
sorry I tried to helpful. won't bother next time |
@rob3c, that tone was unappreciated. Thank you both for trying to be helpful in general. |
Repository owner
locked as resolved and limited conversation to collaborators
Mar 22, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
cross-env
version: 5.1.3node
version: 8.9.4npm
(oryarn
) version: 5.6.0Relevant code or config, in package.json
main.js
What you did:
passed
\\someshare\somefolder
through cross-envWhat happened:
cross-env ate a backslash
Reproduction repository:
see above
Problem description:
cross-env eats backslashes. Not going through cross-env the backslashes make it into the program being excecuted
You can't even escape them with more backslashes
The text was updated successfully, but these errors were encountered: