From 9db8d996e9152730aaedc4d72347eb0c5f572b87 Mon Sep 17 00:00:00 2001 From: Carlos Valente Date: Fri, 28 Mar 2025 22:04:57 +0100 Subject: [PATCH] refactor: simplify logic --- apps/server/src/app.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/server/src/app.ts b/apps/server/src/app.ts index 423e782ac..2299cde59 100644 --- a/apps/server/src/app.ts +++ b/apps/server/src/app.ts @@ -49,8 +49,7 @@ import { serverTryDesiredPort, getNetworkInterfaces } from './utils/network.js'; console.log('\n'); consoleHighlight(`Starting Ontime version ${ONTIME_VERSION}`); -const canLog = isProduction; -if (!canLog) { +if (!isProduction) { console.log(`Ontime running in ${environment} environment`); console.log(`Ontime source directory at ${srcDir.root} `); console.log(`Ontime public directory at ${publicDir.root} `);