Skip to content

Commit acb7e48

Browse files
cdanielsenTimer
authored andcommitted
Use friendlier syntax for setting env var on Windows (facebook#3533)
* use safer/more aesthetic syntax * fix typo
1 parent 660f592 commit acb7e48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

template/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -890,10 +890,10 @@ life of the shell session.
890890
#### Windows (cmd.exe)
891891

892892
```cmd
893-
set REACT_APP_SECRET_CODE=abcdef&&npm start
893+
set "REACT_APP_SECRET_CODE=abcdef" && npm start
894894
```
895895

896-
(Note: the lack of whitespace is intentional.)
896+
(Note: Quotes around the variable assignment are required to avoid a trailing whitespace.)
897897

898898
#### Linux, macOS (Bash)
899899

0 commit comments

Comments
 (0)