Skip to content

fix(application): use void when invoking bootstrap() - #2400

Closed
yousefdawood7 wants to merge 1 commit into
nestjs:v12.0.0from
yousefdawood7:patch-1
Closed

fix(application): use void when invoking bootstrap()#2400
yousefdawood7 wants to merge 1 commit into
nestjs:v12.0.0from
yousefdawood7:patch-1

Conversation

@yousefdawood7

Copy link
Copy Markdown

PR Checklist

PR Type

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no API changes)
  • Build related changes
  • CI related changes
  • Other

What is the current behavior?

The generated main.ts template invokes bootstrap() without handling the returned promise:

await bootstrap();

@kamilmysliwiec

Copy link
Copy Markdown
Member

v12 uses await #2302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants