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 08d317d commit e99ad2cCopy full SHA for e99ad2c
packages/schema/src/plugins/prisma/schema-generator.ts
@@ -134,12 +134,12 @@ export default class PrismaSchemaGenerator {
134
if (generateClient) {
135
try {
136
// run 'prisma generate'
137
- await execSync(`npx prisma generate --schema ${outFile}`, 'ignore');
+ await execSync(`npx prisma generate --schema "${outFile}"`, 'ignore');
138
} catch {
139
await this.trackPrismaSchemaError(outFile);
140
141
// run 'prisma generate' again with output to the console
142
- await execSync(`npx prisma generate --schema ${outFile}`);
+ await execSync(`npx prisma generate --schema "${outFile}"`);
143
144
// noop
145
}
0 commit comments