diff --git a/development/build/utils.js b/development/build/utils.js index e6ca731bf..ec944f361 100644 --- a/development/build/utils.js +++ b/development/build/utils.js @@ -40,7 +40,7 @@ function getBrowserVersionMap(platforms) { [buildType, buildVersion] = prerelease; if (!String(buildVersion).match(/^\d+$/u)) { throw new Error(`Invalid prerelease build version: '${buildVersion}'`); - } else if (buildType !== BuildType.beta) { + } else if (![BuildType.beta, BuildType.flask].includes(buildType)) { throw new Error(`Invalid prerelease build type: ${buildType}`); } }