Skip to content

Commit

Permalink
fix: only run version check in dev on stable branch
Browse files Browse the repository at this point in the history
  • Loading branch information
harlan-zw committed Feb 3, 2024
1 parent 4de6ff8 commit b0dcdc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default defineNuxtModule<ModuleOptions>({
})
}

if (config.splash) {
if (config.splash && !version!.includes('rc') && nuxt.options.dev) {
logger.log('')
let latestTag = `v${version}`
latestTag = (await $fetch<any>('https://ungh.unjs.io/repos/harlan-zw/nuxt-seo/releases/latest', {
Expand Down

0 comments on commit b0dcdc8

Please sign in to comment.