Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

URLs on Windows 10 are messed up #205

Closed
plaskevich opened this issue Jul 12, 2019 · 1 comment
Closed

URLs on Windows 10 are messed up #205

plaskevich opened this issue Jul 12, 2019 · 1 comment

Comments

@plaskevich
Copy link

  • cross-env version: 5.2.0
  • node version: 10.19.0
  • npm (or yarn) version: 6.9.0

Relevant code or config
package.json :

"print": "cross-env-shell \"echo https://google.com\"",

What you did:

npm run print

What happened: The result was

https:\google.com

It seems there is some problem with slash conversion and it messes up the URLs.

@kentcdodds
Copy link
Owner

Hi @plaskevich,

Try this:

"print": "cross-env-shell \"echo https:\/\/google.com\""

Good luck!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants