Skip to content

Commit 258462b

Browse files
committed
Fix .env issue
1 parent 1199485 commit 258462b

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
REACT_APP_X = x-from-original-env
2+
REACT_APP_ORIGINAL_1 = from-original-env-1
3+
REACT_APP_ORIGINAL_2 = from-original-env-2
4+
REACT_APP_BASIC = basic
5+
REACT_APP_BASIC_EXPAND = ${REACT_APP_BASIC}
6+
REACT_APP_BASIC_EXPAND_SIMPLE = $REACT_APP_BASIC
7+
REACT_APP_EXPAND_EXISTING = $REACT_APP_SHELL_ENV_MESSAGE

packages/react-scripts/fixtures/kitchensink/template/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ build
1111

1212
# misc
1313
.DS_Store
14-
.env
1514
npm-debug.log

tasks/e2e-kitchensink.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ set -x
6464
# Go to root
6565
cd ..
6666
root_path=$PWD
67+
# Set a Windows path for GitBash on Windows
68+
if [ $AGENT_OS == 'Windows_NT' ]; then
69+
root_path=$(cmd //c cd)
70+
fi
6771

6872
if hash npm 2>/dev/null
6973
then

0 commit comments

Comments
 (0)