Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Dec 23, 2024
1 parent 4504a4c commit 1831710
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,11 +110,8 @@ async function _createDevProxy(
listenOptions: Partial<ListenOptions>,
) {
let loadingMessage = 'Nuxt dev server is starting...'
const loadingTemplate
= nuxtOptions.devServer.loadingTemplate
?? (await importModule('@nuxt/ui-templates', nuxtOptions.modulesDir).then(
r => r.loading,
))
const loadingTemplate = nuxtOptions.devServer.loadingTemplate
?? await importModule('@nuxt/ui-templates', nuxtOptions.modulesDir).then(r => r.loading)

const { createProxyServer } = await import('httpxy')
const proxy = createProxyServer({})
Expand Down

0 comments on commit 1831710

Please # to comment.