From 24aaa0a99328941d167e9a41120a1d7e8895b5d0 Mon Sep 17 00:00:00 2001 From: ful1e5 <24286590+ful1e5@users.noreply.github.com> Date: Mon, 31 Aug 2020 18:28:04 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Error=20cleanup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/core/src/utils/writeSchema.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/core/src/utils/writeSchema.ts b/packages/core/src/utils/writeSchema.ts index e9c2c90d..4c97ca81 100644 --- a/packages/core/src/utils/writeSchema.ts +++ b/packages/core/src/utils/writeSchema.ts @@ -6,9 +6,7 @@ const writeSchemaData = (location: string, content: string) => { mkdir(location, { recursive: true }, () => {}); } }); - writeFile(location, content, "utf-8", () => { - throw new Error(`Oops Something went wrong with Schema Generator`); - }); + writeFile(location, content, "utf-8", () => {}); }; export { writeSchemaData };