ensure object is passed to processObjectSync
This commit is contained in:
parent
0ca1521a58
commit
22e1c1cccf
|
@ -15,7 +15,7 @@ const ENV_VAR_PREFIX = "env."
|
|||
async function enrichDatasourceWithValues(datasource: Datasource) {
|
||||
const cloned = cloneDeep(datasource)
|
||||
const env = await getEnvironmentVariables()
|
||||
const processed = processObjectSync(cloned, env)
|
||||
const processed = processObjectSync(cloned, { env })
|
||||
return {
|
||||
datasource: processed as Datasource,
|
||||
envVars: env as Record<string, string>,
|
||||
|
|
Loading…
Reference in New Issue