Skip to content

Commit

Permalink
style: address lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jan 9, 2025
1 parent 20d86f3 commit 6791b6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/nest-application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ export class NestApplication
}

public enableCors(options?: any): void {
this.httpAdapter.enableCors(options!);
this.httpAdapter.enableCors(options);
}

public enableVersioning(
Expand Down
1 change: 1 addition & 0 deletions packages/platform-fastify/adapters/fastify-adapter.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/no-floating-promises */
import { FastifyCorsOptions } from '@fastify/cors';
import {
HttpStatus,
Expand Down

0 comments on commit 6791b6c

Please sign in to comment.