Skip to content

Commit

Permalink
fix(kit): match commit hashes of other lengths (#19450)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Mar 4, 2023
1 parent 71225e5 commit b73ca91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/src/compatibility.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit b73ca91

Please sign in to comment.