ensure object is passed to processObjectSync

This commit is contained in:
Peter Clement 2023-01-24 15:44:34 +00:00
parent 0ca1521a58
commit 22e1c1cccf
1 changed files with 1 additions and 1 deletions

View File

@ -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>,