Skip to content

Commit

Permalink
Use friendlier syntax for setting env var on Windows (#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 Timer committed Jan 2, 2018
1 parent ed5c48c commit 76e3165
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 76e3165

Please sign in to comment.