mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-26 04:20:53 +01:00
parent
3d8b371710
commit
c02fe456a0
@ -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}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user