MCPcopy Create free account
hub / github.com/reactnativecn/react-native-update / normalizeBuildMode

Function normalizeBuildMode

scripts/build-harmony-har.js:304–311  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

302}
303
304function normalizeBuildMode(value) {
305 const mode = String(value).toLowerCase();
306 if (mode === 'debug' || mode === 'release') {
307 return mode;
308 }
309
310 fail(`Unsupported build mode: ${value}. Use debug or release.`);
311}
312
313function getDevEcoRoots() {
314 const roots = new Set();

Callers 1

Calls 1

failFunction · 0.85

Tested by

no test coverage detected