Use relative imports in cli.ts to import the cliProcessMaiin (#228044)

* Use relative imports in CLI

* ignore joins

* revert to prevent inlining
pull/228066/head
Don Jayamanne 2024-09-10 14:30:10 +10:00 committed by GitHub
parent bffae5151e
commit 8b7eb51f54
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ export async function main(argv: string[]): Promise<any> {
// 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;