From acb7e488ff4c83cfafafb82ce75a5d6f7159a87b Mon Sep 17 00:00:00 2001 From: Christian Danielsen Date: Tue, 2 Jan 2018 08:01:42 -0800 Subject: [PATCH] Use friendlier syntax for setting env var on Windows (#3533) * use safer/more aesthetic syntax * fix typo --- template/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/template/README.md b/template/README.md index cbb57d8cdc2..827638468e5 100644 --- a/template/README.md +++ b/template/README.md @@ -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)