We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21f7d5d commit f520e00Copy full SHA for f520e00
src/config.ts
@@ -165,7 +165,7 @@ function loadFromEnv(config: SBSConfig, prefix = "") {
165
const fullKey = (prefix ? `${prefix}_` : "") + key;
166
const data = config[key];
167
168
- if (typeof data === "object" && !Array.isArray(data)) {
+ if (data && typeof data === "object" && !Array.isArray(data)) {
169
loadFromEnv(data, fullKey);
170
} else if (process.env[fullKey]) {
171
const value = process.env[fullKey];
0 commit comments