Skip to content

Commit ebd6d02

Browse files
committed
dataconnect.yml: use -eq instead of == when comparing integers
1 parent 2c9a721 commit ebd6d02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dataconnect.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ jobs:
230230
loop_count=0
231231
while kill -0 ${{ steps.logcat-capture.outputs.LOGCAT_PID }} ; do
232232
loop_count=$((loop_count+1))
233-
if [[ $loop_count == 60 ]] ; then
233+
if [[ $loop_count -eq 60 ]] ; then
234234
echo "ERROR: timeout waiting for logcat process to terminate" >&2
235235
exit 1
236236
fi
@@ -249,7 +249,7 @@ jobs:
249249
loop_count=0
250250
while kill -0 ${{ steps.firebase-auth-emulator.outputs.FIREBASE_AUTH_EMULATOR_PID }} ; do
251251
loop_count=$((loop_count+1))
252-
if [[ $loop_count == 60 ]] ; then
252+
if [[ $loop_count -eq 60 ]] ; then
253253
echo "ERROR: timeout waiting for Firebase Auth Emulator process to terminate" >&2
254254
exit 1
255255
fi
@@ -268,7 +268,7 @@ jobs:
268268
loop_count=0
269269
while kill -0 ${{ steps.data-connect-emulator.outputs.FIREBASE_DATA_CONNECT_EMULATOR_PID }} ; do
270270
loop_count=$((loop_count+1))
271-
if [[ $loop_count == 60 ]] ; then
271+
if [[ $loop_count -eq 60 ]] ; then
272272
echo "ERROR: timeout waiting for Firebase Data Connect Emulator process to terminate" >&2
273273
exit 1
274274
fi

0 commit comments

Comments
 (0)