From 8b7eb51f54d7e1492d9baf70454ab6547a4ff9df Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Tue, 10 Sep 2024 14:30:10 +1000 Subject: [PATCH] Use relative imports in cli.ts to import the cliProcessMaiin (#228044) * Use relative imports in CLI * ignore joins * revert to prevent inlining --- src/vs/code/node/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/code/node/cli.ts b/src/vs/code/node/cli.ts index ffd48670edc..b25377a804d 100644 --- a/src/vs/code/node/cli.ts +++ b/src/vs/code/node/cli.ts @@ -117,7 +117,7 @@ export async function main(argv: string[]): Promise { // Extensions Management else if (shouldSpawnCliProcess(args)) { - const cli = await import(['vs', 'code', 'node', 'cliProcessMain'].join('/') /* TODO@esm workaround to prevent esbuild from inlining this */); + const cli = await import(['./cliProcessMain.js'].join('/') /* TODO@esm workaround to prevent esbuild from inlining this */); await cli.main(args); return;