From 5f7d83191cfbb572a1bda91052671d189de6f413 Mon Sep 17 00:00:00 2001 From: Anastasiia Sliusar Date: Tue, 10 Dec 2024 18:22:54 +0100 Subject: [PATCH] Pass kernel name --- src/worker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/worker.ts b/src/worker.ts index 551deb3..a4759fd 100644 --- a/src/worker.ts +++ b/src/worker.ts @@ -141,7 +141,7 @@ export class XeusRemoteKernel { let packageData: IPackagesInfo = {}; try{ - packageData = await bootstrapFromEmpackPackedEnvironment(packagesJsonUrl, verbose, false, globalThis.Module, pkgRootUrl); + packageData = await bootstrapFromEmpackPackedEnvironment(packagesJsonUrl, verbose, false, globalThis.Module, pkgRootUrl, kernelSpec.name); } catch(error: any) { throw new Error(error.message);