Skip to content

Conversation

@Tofandel
Copy link
Contributor

@Tofandel Tofandel commented Nov 8, 2024

Fixes an edge case where server can be null during a restart

Logs:

web:dev:  ERROR  Cannot restart nuxt:  Cannot use 'in' operator to search for 'upgrade' in undefined                                                                                                                                 3:46:49 PM
web:dev:
web:dev:   at NuxtDevServer._load (/node_modules/nuxi/dist/chunks/dev2.mjs:1903:19)

@Tofandel Tofandel requested a review from danielroe as a code owner November 8, 2024 14:53
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Please upload report for BASE (main@fc8ad74). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/utils/dev.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             main    #560   +/-   ##
======================================
  Coverage        ?   1.31%           
======================================
  Files           ?      44           
  Lines           ?    2813           
  Branches        ?      44           
======================================
  Hits            ?      37           
  Misses          ?    2734           
  Partials        ?      42           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielroe danielroe merged commit 5ee4b23 into nuxt:main Nov 28, 2024
3 checks passed
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.

3 participants