mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(kit): match commit hashes of other lengths (#19450)
This commit is contained in:
parent
71225e50c5
commit
b73ca91437
@ -12,7 +12,7 @@ export async function checkNuxtCompatibility (constraints: NuxtCompatibility, nu
|
||||
if (constraints.nuxt) {
|
||||
const nuxtVersion = getNuxtVersion(nuxt)
|
||||
const nuxtSemanticVersion = nuxtVersion
|
||||
.replace(/-[0-9]+\.[0-9a-f]{7,8}/, '') // Remove edge prefix
|
||||
.replace(/-[0-9]+\.[0-9a-f]+/, '') // Remove edge prefix
|
||||
if (!satisfies(nuxtSemanticVersion, constraints.nuxt, { includePrerelease: true })) {
|
||||
issues.push({
|
||||
name: 'nuxt',
|
||||
|
Loading…
Reference in New Issue
Block a user