Skip to content

Commit

Permalink
rename env var for data proxy generate
Browse files Browse the repository at this point in the history
  • Loading branch information
millsp committed Jun 15, 2022
1 parent a5bcf7b commit 894da58
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/Generate.ts
Expand Up @@ -138,7 +138,7 @@ ${chalk.bold('Examples')}
printDownloadProgress: !watchMode,
version: enginesVersion,
cliVersion: pkg.version,
dataProxy: !!args['--data-proxy'] || !!process.env.PRISMA_CLI_GENERATE_DATAPROXY,
dataProxy: !!args['--data-proxy'] || !!process.env.PRISMA_GENERATE_DATAPROXY,
})

if (!generators || generators.length === 0) {
Expand Down Expand Up @@ -261,7 +261,7 @@ Please run \`${getCommandWithExecutor('prisma generate')}\` to see the errors.`)
printDownloadProgress: !watchMode,
version: enginesVersion,
cliVersion: pkg.version,
dataProxy: !!args['--data-proxy'] || !!process.env.PRISMA_CLI_GENERATE_DATAPROXY,
dataProxy: !!args['--data-proxy'] || !!process.env.PRISMA_GENERATE_DATAPROXY,
})

if (!generatorsWatch || generatorsWatch.length === 0) {
Expand Down

0 comments on commit 894da58

Please sign in to comment.