Use friendlier syntax for setting env var on Windows (#3533)

* use safer/more aesthetic syntax

* fix typo
This commit is contained in:
Christian Danielsen
2018-01-02 08:01:42 -08:00
committed by Joe Haddad
parent ed5c48c81b
commit 76e3165412

View File

@@ -890,10 +890,10 @@ life of the shell session.
#### Windows (cmd.exe)
```cmd
set REACT_APP_SECRET_CODE=abcdef&&npm start
set "REACT_APP_SECRET_CODE=abcdef" && npm start
```
(Note: the lack of whitespace is intentional.)
(Note: Quotes around the variable assignment are required to avoid a trailing whitespace.)
#### Linux, macOS (Bash)