From 3f70117d69251d01b0ca2de8324eb5dafa8ff193 Mon Sep 17 00:00:00 2001 From: Mohsen Alizadeh Date: Wed, 28 Jun 2023 21:24:28 -0700 Subject: [PATCH] fallback to old key --- editors/code/src/config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 13e6bbc1d2..ee9ba7465a 100644 --- a/editors/code/src/config.ts +++ b/editors/code/src/config.ts @@ -225,7 +225,7 @@ export class Config { } get runnablesExtraEnv() { - const item = this.get("runnables.extraEnv"); + const item = this.get("runnables.extraEnv") ?? this.get("runnableEnv"); if (!item) return item; const fixRecord = (r: Record) => { for (const key in r) {