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 409a498 commit 8c7cc88Copy full SHA for 8c7cc88
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