From b0dcdc8b1cb58ea85ba160bc4f84863347c9bc51 Mon Sep 17 00:00:00 2001 From: Harlan Wilton Date: Sun, 4 Feb 2024 02:09:32 +1100 Subject: [PATCH] fix: only run version check in dev on stable branch --- src/module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.ts b/src/module.ts index 0aef07c8..6bf92f35 100644 --- a/src/module.ts +++ b/src/module.ts @@ -157,7 +157,7 @@ export default defineNuxtModule({ }) } - if (config.splash) { + if (config.splash && !version!.includes('rc') && nuxt.options.dev) { logger.log('') let latestTag = `v${version}` latestTag = (await $fetch('https://ungh.unjs.io/repos/harlan-zw/nuxt-seo/releases/latest', {