From 183171076183ad65377f0dcb4d9c541dfb2df25f Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Mon, 23 Dec 2024 21:46:09 +0000 Subject: [PATCH] chore: lint --- src/commands/dev.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/commands/dev.ts b/src/commands/dev.ts index af7486c1..a488f323 100644 --- a/src/commands/dev.ts +++ b/src/commands/dev.ts @@ -110,11 +110,8 @@ async function _createDevProxy( listenOptions: Partial, ) { 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({})