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) {
|
async function handleMessage(message) {
|
||||||
if (message.type === "meta") {
|
if (message.type === "meta") {
|
||||||
|
const supportInfo = await prettier.getSupportInfo({ showUnreleased: true });
|
||||||
|
|
||||||
return {
|
return {
|
||||||
type: "meta",
|
type: "meta",
|
||||||
supportInfo: JSON.parse(
|
supportInfo: JSON.parse(JSON.stringify(supportInfo)),
|
||||||
JSON.stringify(
|
|
||||||
prettier.getSupportInfo({
|
|
||||||
showUnreleased: true,
|
|
||||||
})
|
|
||||||
)
|
|
||||||
),
|
|
||||||
version: prettier.version,
|
version: prettier.version,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user