Skip to content

Commit a337911

Browse files
fix: stderr
1 parent e2d7de5 commit a337911

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

.maestro/scripts/run-tests.sh

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

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

7270
# Android uses DeviceLab; iOS keeps the runner default driver.
7371
DRIVER_ARGS=""

0 commit comments

Comments
 (0)