From 765a857bb0df8e5a7ba7bfa3348180e37a9cc6d8 Mon Sep 17 00:00:00 2001 From: Kai Salmen Date: Sat, 20 Jan 2024 10:13:09 +0100 Subject: [PATCH] fix: missing return json performInit --- packages/examples/src/json/client/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/examples/src/json/client/main.ts b/packages/examples/src/json/client/main.ts index 5077adafc..dac799adf 100644 --- a/packages/examples/src/json/client/main.ts +++ b/packages/examples/src/json/client/main.ts @@ -33,7 +33,7 @@ export const createDefaultJsonContent = (): string => { /* backwards compatible wrapper for legacy version, for json lang only */ export const performInit = async (vscodeApiInit: boolean) => { - doInit(vscodeApiInit, { + return doInit(vscodeApiInit, { id: 'json', extensions: ['.json', '.jsonc'], aliases: ['JSON', 'json'],