Skip to content

Commit

Permalink
pkg: Remove useless generate
Browse files Browse the repository at this point in the history
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
  • Loading branch information
SevInf committed Jun 10, 2024
1 parent 2a98567 commit d5c97e1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion binaries/pkg/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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'))]})))")
Expand Down

0 comments on commit d5c97e1

Please sign in to comment.