From 5733a756de840b1cdf01db087347d1078caa41f3 Mon Sep 17 00:00:00 2001 From: mohammed gehad Date: Sat, 22 Apr 2023 05:47:40 +0530 Subject: [PATCH] refactor --- packages/prisma-dmmf-extended/src/dmmfToSchema.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/prisma-dmmf-extended/src/dmmfToSchema.ts b/packages/prisma-dmmf-extended/src/dmmfToSchema.ts index 1d3c7e2..9e70e82 100644 --- a/packages/prisma-dmmf-extended/src/dmmfToSchema.ts +++ b/packages/prisma-dmmf-extended/src/dmmfToSchema.ts @@ -15,10 +15,10 @@ export const dmmfToSchema = async ({ config: ConfigMetaFormat; }) => { const outputSchema = [ - await datasourcesDeserializer(datasources), - await generatorsDeserializer(generators), - await dmmfModelsdeserializer(models), - await dmmfEnumsDeserializer(enums), + datasourcesDeserializer(datasources), + generatorsDeserializer(generators), + dmmfModelsdeserializer(models), + dmmfEnumsDeserializer(enums), ] .filter((e) => e) .join("\n\n\n");