We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5eb1d84 commit 3f67c0eCopy full SHA for 3f67c0e
src/node/routes/vscode.ts
@@ -59,7 +59,7 @@ async function loadVSCode(req: express.Request): Promise<IVSCodeServerAPI> {
59
// breaks importing `rotating-file-stream` for some reason. To work around
60
// this, use `eval` for now, but we should consider switching to ESM.
61
const modPath = path.join(vsRootPath, "out/server-main.js")
62
- const mod = await eval(`import("${modPath}")`) as VSCodeModule
+ const mod = (await eval(`import("${modPath}")`)) as VSCodeModule
63
const serverModule = await mod.loadCodeWithNls()
64
return serverModule.createServer(null, {
65
...(await toCodeArgs(req.args)),
0 commit comments