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 d7edf73 commit 7ad67fdCopy full SHA for 7ad67fd
server/src/config.ts
@@ -61,7 +61,8 @@ export function getConfigFromEnvironmentVariables(): {
61
62
const environmentVariablesUsed = Object.entries(rawConfig)
63
.map(([key, value]) => (typeof value !== 'undefined' ? key : null))
64
- .filter((key) => key !== null) as string[]
+ .filter((key): key is string => key !== null)
65
+ .filter((key) => key !== 'logLevel') // logLevel is a special case that we ignore
66
67
const config = ConfigSchema.parse(rawConfig)
68
0 commit comments