Skip to content

Commit

Permalink
Fix experimental snapshot checking
Browse files Browse the repository at this point in the history
  • Loading branch information
Nixinova committed Aug 24, 2024
1 parent 2f5b88d commit b87d826
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function getPackFormat(version: string, type: PackType = 'resource'): FormatResu
// Aliasing
.replace(/-? *pre[- ]?(?:release)? */, '-pre')
.replace(/ *release candidate */, '-rc')
.replace(/ *exp(?:erimental)? *(?:snapshot)?|-es/, '-exp')
.replace(/-? *exp(?:erimental)? *(?:snapshot)?|-es/, '-exp')

// Special //
for (const format in SPECIAL[type]) {
Expand Down

0 comments on commit b87d826

Please sign in to comment.