Skip to content

Commit

Permalink
Use friendlier syntax for setting env var on Windows (facebook#3533)
Browse files Browse the repository at this point in the history
* use safer/more aesthetic syntax

* fix typo
  • Loading branch information
cdanielsen authored and Pavel Zhytko committed Jul 10, 2018
1 parent f70146d commit b74f1a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-scripts/template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b74f1a4

Please sign in to comment.