1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 04:20:53 +01:00

Adds build type mmi (#18399)

* adds build type mmi

* run prettier
This commit is contained in:
António Regadas 2023-03-31 14:21:58 +01:00 committed by PeterYinusa
parent 3d8b371710
commit c02fe456a0

View File

@ -58,7 +58,12 @@ function getBrowserVersionMap(platforms, version) {
if (!String(buildVersion).match(/^\d+$/u)) {
throw new Error(`Invalid prerelease build version: '${buildVersion}'`);
} else if (
![BuildType.beta, BuildType.flask, BuildType.desktop].includes(buildType)
![
BuildType.beta,
BuildType.flask,
BuildType.desktop,
BuildType.mmi,
].includes(buildType)
) {
throw new Error(`Invalid prerelease build type: ${buildType}`);
}