chore: fix eslint issue

This commit is contained in:
Pooya Parsa 2021-10-18 15:25:11 +02:00
parent cb912c3c0c
commit 8714731892

View File

@ -38,7 +38,7 @@ export default defineNuxtCommand({
.join(', ')
// Check nuxt version
const nuxtVersion = getDepVersion('nuxt') || getDepVersion('nuxt-edge') || getDepVersion('nuxt3') || '0.0.0'
const nuxtVersion = getDepVersion('nuxt') || getDepVersion('nuxt-edge') || getDepVersion('nuxt3') || '0.0.0'
const isNuxt3 = nuxtVersion.startsWith('3')
const useVite = isNuxt3
? nuxtConfig.vite !== false