style: address lint issues

This commit is contained in:
Kamil Myśliwiec
2025-05-30 10:56:04 +02:00
parent 04d1bc5304
commit daa429d251
2 changed files with 5 additions and 2 deletions

View File

@@ -4,4 +4,7 @@ import { LongLivingAppModule } from './long-living-app.module';
async function bootstrap() {
await repl(LongLivingAppModule);
}
bootstrap();
bootstrap().catch(err => {
console.error('Error during bootstrap:', err);
process.exit(1);
});

View File

@@ -219,7 +219,7 @@ export class NestMicroservice
public useGlobalGuards(...guards: CanActivate[]): this {
if (this.isInitialized) {
this.logger.warn(
'Cannot apply global guards: registration must occur before initialization.',
'Cannot apply global guards: registration must occur before initialization.',
);
}
this.applicationConfig.useGlobalGuards(...guards);