chore: suppress warnings about default branch

This commit is contained in:
Jose Diaz-Gonzalez committed 2023-01-16 01:39:59 -05:00
1 parent fcb25e1842
commit e103d9b11b
2 files changed
+6

No files matched your search

+5
View File
@@ -27,6 +27,11 @@ teardown() {
echo "status: $status" echo "status: $status"
assert_success assert_success
run /bin/bash -c "git config --global init.defaultBranch master"
echo "output: $output"
echo "status: $status"
assert_success
run /bin/bash -c "git init" run /bin/bash -c "git init"
echo "output: $output" echo "output: $output"
echo "status: $status" echo "status: $status"
+1
View File
@@ -326,6 +326,7 @@ deploy_app() {
pushd "$TMP" &>/dev/null || exit 1 pushd "$TMP" &>/dev/null || exit 1
[[ -z "$CUSTOM_TMP" ]] && trap 'popd &>/dev/null || true; rm -rf "$TMP"' RETURN INT TERM [[ -z "$CUSTOM_TMP" ]] && trap 'popd &>/dev/null || true; rm -rf "$TMP"' RETURN INT TERM
git config --global init.defaultBranch master
git init git init
git config user.email "robot@example.com" git config user.email "robot@example.com"
git config user.name "Test Robot" git config user.name "Test Robot"