Skip to content

Commit f8df7a6

Browse files
committed
support --sql
1 parent 1678caf commit f8df7a6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

epicshop/setup-custom.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@ import {
1010
} from '@epic-web/workshop-utils/apps.server'
1111

1212
const allApps = await getApps()
13-
const uniqueApps = allApps.filter(
14-
(a, index) => allApps.findIndex(b => b.fullPath === a.fullPath) === index,
15-
)
13+
console.log(allApps)
1614
const problemApps = allApps.filter(isProblemApp)
1715

1816
if (!process.env.SKIP_PLAYWRIGHT) {
@@ -56,7 +54,7 @@ if (!process.env.SKIP_PRISMA) {
5654
for (const app of allApps) {
5755
try {
5856
if (await fsExtra.exists(path.join(app.fullPath, 'prisma'))) {
59-
await $({ cwd: app.fullPath, all: true })`prisma generate`
57+
await $({ cwd: app.fullPath, all: true })`prisma generate --sql`
6058
}
6159
} catch (prismaGenerateResult) {
6260
console.log(prismaGenerateResult.all)

0 commit comments

Comments
 (0)