Skip to content

Commit 1831710

Browse files
committed
chore: lint
1 parent 4504a4c commit 1831710

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/commands/dev.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -110,11 +110,8 @@ async function _createDevProxy(
110110
listenOptions: Partial<ListenOptions>,
111111
) {
112112
let loadingMessage = 'Nuxt dev server is starting...'
113-
const loadingTemplate
114-
= nuxtOptions.devServer.loadingTemplate
115-
?? (await importModule('@nuxt/ui-templates', nuxtOptions.modulesDir).then(
116-
r => r.loading,
117-
))
113+
const loadingTemplate = nuxtOptions.devServer.loadingTemplate
114+
?? await importModule('@nuxt/ui-templates', nuxtOptions.modulesDir).then(r => r.loading)
118115

119116
const { createProxyServer } = await import('httpxy')
120117
const proxy = createProxyServer({})

0 commit comments

Comments
 (0)