diff --git a/apps/backend/src/main.ts b/apps/backend/src/main.ts index 883a906f..d1ee6fb7 100644 --- a/apps/backend/src/main.ts +++ b/apps/backend/src/main.ts @@ -16,7 +16,7 @@ import { HttpExceptionFilter } from '@gitroom/nestjs-libraries/services/exceptio import { ConfigurationChecker } from '@gitroom/helpers/configuration/configuration.checker'; import { startMcp } from '@gitroom/nestjs-libraries/chat/start.mcp'; -async function bootstrap() { +async function start() { const app = await NestFactory.create(AppModule, { rawBody: true, cors: { @@ -80,8 +80,8 @@ function checkConfiguration() { Logger.warn('Configuration issues found: ' + checker.getIssuesCount()); } else { - Logger.log('Configuration check completed without any issues.'); + Logger.log('Configuration check completed without any issues'); } } -bootstrap(); +start(); diff --git a/apps/cron/src/main.ts b/apps/cron/src/main.ts index cc2684f9..3d3ece5b 100644 --- a/apps/cron/src/main.ts +++ b/apps/cron/src/main.ts @@ -4,9 +4,9 @@ initializeSentry('cron'); import { NestFactory } from '@nestjs/core'; import { CronModule } from './cron.module'; -async function bootstrap() { +async function start() { // some comment again await NestFactory.createApplicationContext(CronModule); } -bootstrap(); +start(); diff --git a/apps/workers/src/main.ts b/apps/workers/src/main.ts index ade2eff0..62173f34 100644 --- a/apps/workers/src/main.ts +++ b/apps/workers/src/main.ts @@ -8,7 +8,7 @@ import { BullMqServer } from '@gitroom/nestjs-libraries/bull-mq-transport-new/st import { AppModule } from './app/app.module'; -async function bootstrap() { +async function start() { process.env.IS_WORKER = 'true'; // some comment again @@ -22,4 +22,4 @@ async function bootstrap() { await app.listen(); } -bootstrap(); +start();