Update ci/e2ereport.sh

Co-authored-by: Anmol Sethi <hi@nhooyr.io>
This commit is contained in:
Apostolis A 2023-01-20 04:29:47 +02:00 committed by GitHub
parent de5c00ac23
commit 3cc8ab1cb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@ FORCE_COLOR=1 DEBUG=1 go run ./e2etests/report/main.go "$@";
if [ -z "${NO_OPEN:-}" ]; then
if [ -s "$REPORT_OUTPUT" ]; then
if [ -x "$(command -v open)" ]; then
if command -v open >/dev/null; then
open $REPORT_OUTPUT
elif [ -x "$(command -v xdg-open)" ]; then
xdg-open $REPORT_OUTPUT