Skip to content

Commit

Permalink
Update "cross-env" to the latest version, which includes a fix for co…
Browse files Browse the repository at this point in the history
…mmands in Windows with undefined env variables

Fixes #16452
Closes #19084

The latest version of `cross-env` (`5.1.1`) includes a fix to #16452.
The fix is: kentcdodds/cross-env#149
Now the behaviour of commands like `cross-env node $UNDEFINED_VAR index.js` is expanding the variable
to the empty string, both in Windows and in UNIX.

To get the new version of `cross-env` working, I had to change all `cross-env` commands to `cross-env-shell`,
as this was a breaking change on `cross-env@5`.

To test: run `npm start` on a Windows `cmd.exe` shell, check that it works.

cc/ @Viper007Bond @withinboredom
  • Loading branch information
Daniel Rey Lopez committed Oct 27, 2017
1 parent 8d9b379 commit c8e8384
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 472 deletions.
Loading

0 comments on commit c8e8384

Please sign in to comment.