Fix v3 website (#12845)
This commit is contained in:
1 parent
1b764933a8
commit
8b00726cd4
1 file changed
+3
-7
@@ -52,15 +52,11 @@ function serializeAst(ast) {
|
||||
|
||||
async function handleMessage(message) {
|
||||
if (message.type === "meta") {
|
||||
const supportInfo = await prettier.getSupportInfo({ showUnreleased: true });
|
||||
|
||||
return {
|
||||
type: "meta",
|
||||
supportInfo: JSON.parse(
|
||||
JSON.stringify(
|
||||
prettier.getSupportInfo({
|
||||
showUnreleased: true,
|
||||
})
|
||||
)
|
||||
),
|
||||
supportInfo: JSON.parse(JSON.stringify(supportInfo)),
|
||||
version: prettier.version,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user