From f843fb527102a00bf3903040c8d2bebf732ba80c Mon Sep 17 00:00:00 2001 From: Will Smythe Date: Tue, 26 Mar 2019 11:14:57 -0400 Subject: [PATCH] Set Git user/email; remove debug lines --- .azure-pipelines-steps.yml | 8 +++++--- tasks/e2e-simple.sh | 6 ------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.azure-pipelines-steps.yml b/.azure-pipelines-steps.yml index 82e9df715bf..48327f99b5b 100644 --- a/.azure-pipelines-steps.yml +++ b/.azure-pipelines-steps.yml @@ -3,9 +3,11 @@ # steps: - - script: git config --global core.autocrlf false - displayName: 'Ensure LF line endings (Windows only)' - condition: eq(variables['Agent.OS'], 'Windows_NT') + - script: | + git config --global core.autocrlf false + git config --global user.name "Create React App" + git config --global user.email "cra@email.com" + displayName: 'Initialize Git config settings' - checkout: self diff --git a/tasks/e2e-simple.sh b/tasks/e2e-simple.sh index 40e793acaee..37b471317d3 100755 --- a/tasks/e2e-simple.sh +++ b/tasks/e2e-simple.sh @@ -246,9 +246,6 @@ function verify_module_scope { # Enter the app directory cd test-app -echo "current dir: $(pwd)" -echo "$(ls -la)" - # Test the build yarn build # Check for expected output @@ -279,9 +276,6 @@ verify_module_scope # Eject... echo yes | npm run eject -echo "current dir: $(pwd)" -echo "$(ls -la)" - # Test ejected files were staged test -n "$(git diff --staged --name-only)"