From b87d826bf808ffe356a8b6ed62a72bbb92b32ea2 Mon Sep 17 00:00:00 2001 From: Nixinova Date: Sat, 24 Aug 2024 18:05:50 +1200 Subject: [PATCH] Fix experimental snapshot checking --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 7b959a3..a99f889 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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]) {