Skip to content

Commit ff65875

Browse files
committed
Commit changes when ejecting
1 parent b9cfee9 commit ff65875

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

tasks/e2e-kitchensink.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,12 @@ rm .babelrc
174174
# Finally, let's check that everything still works after ejecting.
175175
# ******************************************************************************
176176

177+
# Commiting changes
178+
git config user.email "you@example.com"
179+
git config user.name "Your Name"
180+
git add .
181+
git commit -m "Before npm run eject"
182+
177183
# Eject...
178184
echo yes | npm run eject
179185

tasks/e2e-simple.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,12 @@ verify_module_scope
261261
# Finally, let's check that everything still works after ejecting.
262262
# ******************************************************************************
263263

264+
# Commiting changes
265+
git config user.email "you@example.com"
266+
git config user.name "Your Name"
267+
git add .
268+
git commit -m "Before npm run eject"
269+
264270
# Eject...
265271
echo yes | npm run eject
266272

0 commit comments

Comments
 (0)