From 3f67c0ebed1bd59bc913b9652fbe2f76d99204a2 Mon Sep 17 00:00:00 2001 From: Asher Date: Wed, 16 Oct 2024 20:24:48 -0800 Subject: [PATCH] Format --- src/node/routes/vscode.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/routes/vscode.ts b/src/node/routes/vscode.ts index f50f011fd..7e8f0f3ff 100644 --- a/src/node/routes/vscode.ts +++ b/src/node/routes/vscode.ts @@ -59,7 +59,7 @@ async function loadVSCode(req: express.Request): Promise { // breaks importing `rotating-file-stream` for some reason. To work around // this, use `eval` for now, but we should consider switching to ESM. const modPath = path.join(vsRootPath, "out/server-main.js") - const mod = await eval(`import("${modPath}")`) as VSCodeModule + const mod = (await eval(`import("${modPath}")`)) as VSCodeModule const serverModule = await mod.loadCodeWithNls() return serverModule.createServer(null, { ...(await toCodeArgs(req.args)),