From c02fe456a07e4aa88d864a12b9840232b72da0ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ant=C3=B3nio=20Regadas?= Date: Fri, 31 Mar 2023 14:21:58 +0100 Subject: [PATCH] Adds build type mmi (#18399) * adds build type mmi * run prettier --- development/build/utils.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/development/build/utils.js b/development/build/utils.js index b0df586b1..ce88d1f09 100644 --- a/development/build/utils.js +++ b/development/build/utils.js @@ -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}`); }