diff --git a/src/dbos-runtime/config.ts b/src/dbos-runtime/config.ts index e0dd5832..7ef89eb0 100644 --- a/src/dbos-runtime/config.ts +++ b/src/dbos-runtime/config.ts @@ -115,7 +115,7 @@ export function retrieveApplicationName(configFile: ConfigFile): string { export function constructPoolConfig(configFile: ConfigFile, cliOptions?: ParseOptions) { // Load database connection parameters. If they're not in dbos-config.yaml, load from .dbos/db_connection. Else, use defaults. const databaseConnection = loadDatabaseConnection(); - if (cliOptions?.skipLoggingInParse !== true) { + if (!cliOptions?.skipLoggingInParse) { const logger = new GlobalLogger(); if (configFile["database"]["hostname"]) { logger.info("Loading database connection parameters from dbos-config.yaml");