diff --git a/src/config.ts b/src/config.ts index 4c6cc69..49e48ba 100644 --- a/src/config.ts +++ b/src/config.ts @@ -72,6 +72,11 @@ export function listConfig(): Record { const result: Record = {}; for (const key of getKeys(config)) { const value = config[key]?.toString() || ""; + + if (value === "" || value === "undefined") { + continue; + } + if (value && SENSITIVE_KEYS.includes(key)) { result[key] = "********"; } else {