Skip to content

Commit bf60482

Browse files
committed
dataconnect.yml: use -eq instead of == when comparing integers in ALL places
1 parent f842fb7 commit bf60482

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dataconnect.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -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)