fallback to old key

This commit is contained in:
Mohsen Alizadeh 2023-06-28 21:24:28 -07:00
parent 6c3e15aaa0
commit 3f70117d69

View File

@ -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) {