From d5c97e1a8d798f03a1908c7e2afae0c4e767d099 Mon Sep 17 00:00:00 2001 From: Serhii Tatarintsev Date: Mon, 10 Jun 2024 15:18:11 +0200 Subject: [PATCH] pkg: Remove useless generate This `generate` call is not supposed to work - there is no schema to generate from where it is called. It was working before because generate incorrectly thought it's called from a postinstall hook and produced soft error instead. Close prisma/team-orm#1183 --- binaries/pkg/run.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/binaries/pkg/run.sh b/binaries/pkg/run.sh index 6ef7f7ad8525..96445b905ca2 100755 --- a/binaries/pkg/run.sh +++ b/binaries/pkg/run.sh @@ -3,7 +3,6 @@ set -eu pnpm install -pnpm prisma generate # This means that we resolve the location of the @prisma/engines package starting to the location of the prisma package ENGINES_PACKAGE=$(node -e "console.log(path.dirname(require.resolve('@prisma/engines/package.json', {paths: [path.dirname(require.resolve('prisma/package.json'))]})))")