Unnamed repository; edit this file 'description' to name the repository.
fallback to old key
Mohsen Alizadeh 2023-06-29
parent 6c3e15a · commit 3f70117
-rw-r--r--editors/code/src/config.ts2
1 files changed, 1 insertions, 1 deletions
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<any>("runnables.extraEnv");
+ const item = this.get<any>("runnables.extraEnv") ?? this.get<any>("runnableEnv");
if (!item) return item;
const fixRecord = (r: Record<string, any>) => {
for (const key in r) {