diff --git a/__test__/verify-submodules-true.sh b/__test__/verify-submodules-true.sh index da33ced..8ffabb1 100755 --- a/__test__/verify-submodules-true.sh +++ b/__test__/verify-submodules-true.sh @@ -1,5 +1,4 @@ #!/bin/bash -set -o pipefail if [ ! -f "./submodules-true/regular-file.txt" ]; then echo "Expected regular file does not exist" @@ -28,7 +27,7 @@ if [ "$?" != "0" ]; then fi # Try to ls-remote to validate credentials work -git ls-remote origin 2>&1 | head +git ls-remote origin >/dev/null if [ "$?" != "0" ]; then echo "Failed to validate persisted credential - git ls-remote failed" popd