Skip to content

Commit da245b8

Browse files
committed
chore(scripts): remove prettier API call in generating client types map
1 parent 8ae9bf1 commit da245b8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

scripts/generateClientTypesMap/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { writeFile } from "node:fs/promises";
22
import { join } from "node:path";
3-
import { format } from "prettier";
43

54
import {
65
CLIENT_NAMES,
@@ -39,9 +38,6 @@ const codegenComment = `// This file is generated by scripts/generateClientTypes
3938
fileContent += JSON.stringify(clientTypesMap);
4039
fileContent += ";\n";
4140

42-
await writeFile(
43-
relativeFilePath,
44-
await format(fileContent, { parser: "typescript", printWidth: 100 })
45-
);
41+
await writeFile(relativeFilePath, fileContent);
4642
}
4743
})();

0 commit comments

Comments
 (0)