Skip to content

Commit 12804de

Browse files
committed
chore: wip
1 parent 8df9465 commit 12804de

File tree

1 file changed

+0
-4
lines changed
  • .stacks/core/database/src/factory

1 file changed

+0
-4
lines changed

.stacks/core/database/src/factory/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ const prisma = new PrismaClient({
1414
const factory = (options: FactoryOptions) => {
1515
return {
1616
make: async () => {
17-
if (options.count)
18-
1917
return ResultAsync.fromPromise(
2018
await prisma[options.name].createMany({
2119
data: options.items,
@@ -26,8 +24,6 @@ const factory = (options: FactoryOptions) => {
2624
},
2725

2826
create: async () => {
29-
if (options.count)
30-
3127
return ResultAsync.fromPromise(
3228
await prisma[options.name].createMany({
3329
data: options.items,

0 commit comments

Comments
 (0)