mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 15:08:37 +00:00
style: address lint issues
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user