We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04934da commit 6135e15Copy full SHA for 6135e15
testdrive.sh
@@ -51,7 +51,7 @@ check() {
51
echo "Error: Failed to find 'example oauth' in gitlab.yml"
52
return 1
53
fi
54
- first_asset=$(docker exec "gitlab-${SUFFIX}" bash -c 'ls /home/git/gitlab/public/assets/*.js 2>/dev/null | head -n 1 | basename')
+ first_asset=$(docker exec "gitlab-${SUFFIX}" bash -c 'ls /home/git/gitlab/public/assets/*.js 2>/dev/null | head -n 1 | xargs -n 1 basename')
55
assets_location="/assets/$first_asset"
56
assets_code=$(curl --write-out '%{http_code}' --silent --output /dev/null "$url$assets_location")
57
if [[ $assets_code -lt 200 || $assets_code -gt 399 ]]; then
0 commit comments