From da245b8b617ccd868d72376b3d14fbe8a473b2a0 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Sat, 27 Jul 2024 19:03:16 -0700 Subject: [PATCH] chore(scripts): remove prettier API call in generating client types map --- scripts/generateClientTypesMap/index.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/generateClientTypesMap/index.ts b/scripts/generateClientTypesMap/index.ts index ac685b0a8..6874fe5c0 100644 --- a/scripts/generateClientTypesMap/index.ts +++ b/scripts/generateClientTypesMap/index.ts @@ -1,6 +1,5 @@ import { writeFile } from "node:fs/promises"; import { join } from "node:path"; -import { format } from "prettier"; import { CLIENT_NAMES, @@ -39,9 +38,6 @@ const codegenComment = `// This file is generated by scripts/generateClientTypes fileContent += JSON.stringify(clientTypesMap); fileContent += ";\n"; - await writeFile( - relativeFilePath, - await format(fileContent, { parser: "typescript", printWidth: 100 }) - ); + await writeFile(relativeFilePath, fileContent); } })();