Skip to content

Commit 5a29ed8

Browse files
fix: tte error
1 parent 85578ac commit 5a29ed8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.maestro/scripts/run-tests.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,9 @@ case "$PLATFORM" in
6565
*) echo "Error: --platform must be ios or android" >&2; exit 1 ;;
6666
esac
6767

68-
DEVICE_ID=$("$SETUP" | tee /dev/tty | grep "^DEVICE_ID=" | cut -d= -f2)
68+
SETUP_OUTPUT=$("$SETUP")
69+
echo "$SETUP_OUTPUT"
70+
DEVICE_ID=$(echo "$SETUP_OUTPUT" | grep "^DEVICE_ID=" | cut -d= -f2)
6971

7072
# Android uses DeviceLab; iOS keeps the runner default driver.
7173
DRIVER_ARGS=""

0 commit comments

Comments
 (0)