Fixes #5218, where nested environment variables on a sub environment don't always work (#5219)

This commit is contained in:
Brian Goad authored and GitHub committed 2022-11-10 13:31:19 +00:00
1 parent cc3a7cbbda
commit 171e6c2135
1 file changed
+1 -1
+1 -1
View File
@@ -149,7 +149,7 @@ export async function buildRenderContext(
}
} else if (Object.prototype.toString.call(subContext[key]) === '[object Object]') {
// Context is of Type object, Call this function recursively to handle nested objects.
subContext[key] = renderSubContext(subObject[key], subContext[key]);
subContext[key] = await renderSubContext(subObject[key], subContext[key]);
} else {
// For all other Types, add the Object to the Context.
subContext[key] = subObject[key];