diff --git a/scripts/download-object-server.sh b/scripts/download-object-server.sh index a1481143..c1001a79 100755 --- a/scripts/download-object-server.sh +++ b/scripts/download-object-server.sh @@ -6,8 +6,8 @@ set -eo pipefail . dependencies.list -if [ -f object-server-for-testing/node_modules/realm-object-server/package.json ]; then - if grep -q "\"version\": \"$REALM_OBJECT_SERVER_VERSION\"" object-server-for-testing/node_modules/realm-object-server/package.json; then +if [ -f object-server-for-testing/node_modules/realm-object-server-developer/package.json ]; then + if grep -q "\"version\": \"$REALM_OBJECT_SERVER_VERSION\"" object-server-for-testing/node_modules/realm-object-server-developer/package.json; then echo -e "yes\n" | object-server-for-testing/reset-server-realms.command exit fi