We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38be9f2 commit 49f2d40Copy full SHA for 49f2d40
tools/generator/src/index.ts
@@ -201,7 +201,8 @@ program
201
})
202
),
203
});
204
- fs.writeFileSync(`${output}/index.ts`, prettier.format(typescriptContent, { parser: "babel-ts" }));
+ const formatted = await prettier.format(typescriptContent, { parser: "babel-ts" });
205
+ fs.writeFileSync(`${output}/index.ts`, formatted);
206
}
207
208
0 commit comments