diff options
| author | Mohsen Alizadeh <mohsen@alizadeh.us> | 2023-06-28 21:24:28 -0700 |
|---|---|---|
| committer | Mohsen Alizadeh <mohsen@alizadeh.us> | 2023-06-28 21:24:28 -0700 |
| commit | 3f70117d69251d01b0ca2de8324eb5dafa8ff193 (patch) | |
| tree | 5023044d7d0fa722ff3551ceef3c50d93a50ce44 | |
| parent | 6c3e15aaa057ab3c18c5575aacf9e1e56951b8ce (diff) | |
| download | rust-3f70117d69251d01b0ca2de8324eb5dafa8ff193.tar.gz rust-3f70117d69251d01b0ca2de8324eb5dafa8ff193.zip | |
fallback to old key
| -rw-r--r-- | editors/code/src/config.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/code/src/config.ts b/editors/code/src/config.ts index 13e6bbc1d25..ee9ba7465ab 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) { |
