Skip to content

Commit ff73a32

Browse files
committed
test: correct check
1 parent 3b715b8 commit ff73a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/scripts/check-engines-cli.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ pnpm exec prisma -v
115115
# Example: `community-generators (napi, prisma-dbml-generator)` has correct node_modules/prisma/libquery_engine-debian-openssl-1.1.x.so.node, but wrong node_modules/@prisma/engines/query-engine-debian-openssl-1.1.x (also `community-generators (napi, prisma-json-schema-generator)`)
116116
if [ "$CLI_QUERY_ENGINE_TYPE" == "<accelerate>" ]; then
117117
echo "✔ Accelerate has no Query Engine" # TODO: actually check that there isn't one
118-
elif [ $CLIENT_ENGINE_TYPE == "client" ]; then
118+
elif [ $PRISMA_CLIENT_ENGINE_TYPE == "client" ]; then
119119
echo "Client engine detected, skipping QE check"
120120
exit 0
121121
elif [ -f "$qe_location" ] || [ -f "$qe_location2" ]; then

0 commit comments

Comments
 (0)