You’d want to use
Object.keys(settings).forEach(key => {
Object.keys(env[key]).forEach(subkey => {
or potentially Object.entries or Object.values depending on if you actually want the keys.
You’d want to use
Object.keys(settings).forEach(key => {
Object.keys(env[key]).forEach(subkey => {
or potentially Object.entries or Object.values depending on if you actually want the keys.