Skip to content

Commit b87d826

Browse files
committed
Fix experimental snapshot checking
1 parent 2f5b88d commit b87d826

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ function getPackFormat(version: string, type: PackType = 'resource'): FormatResu
121121
// Aliasing
122122
.replace(/-? *pre[- ]?(?:release)? */, '-pre')
123123
.replace(/ *release candidate */, '-rc')
124-
.replace(/ *exp(?:erimental)? *(?:snapshot)?|-es/, '-exp')
124+
.replace(/-? *exp(?:erimental)? *(?:snapshot)?|-es/, '-exp')
125125

126126
// Special //
127127
for (const format in SPECIAL[type]) {

0 commit comments

Comments
 (0)