We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e147e9 commit de7b2b8Copy full SHA for de7b2b8
packages/sdk/src/utils.ts
@@ -468,8 +468,9 @@ export function getPreviewFeatures(model: Model) {
468
isGeneratorDecl(d) &&
469
d.fields.some(
470
(f) =>
471
- (f.name === 'provider' && getLiteral<string>(f.value) === 'prisma-client-js') ||
472
- getLiteral<string>(f.value) === 'prisma-client'
+ f.name === 'provider' &&
+ (getLiteral<string>(f.value) === 'prisma-client-js' ||
473
+ getLiteral<string>(f.value) === 'prisma-client')
474
)
475
) as GeneratorDecl | undefined;
476
0 commit comments