diff --git a/src/index.ts b/src/index.ts index a3419a4..b61e63b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,6 +11,6 @@ createActionsPlugin( envSchema: envSchema, settingsSchema: pluginSettingsSchema, logLevel: process.env.LOG_LEVEL || LOG_LEVEL.INFO, - kernelPublicKey: process.env.KERNEL_PUBLIC_KEY, + ...(process.env.KERNEL_PUBLIC_KEY && { kernelPublicKey: process.env.KERNEL_PUBLIC_KEY }), } ).catch(console.error);