MCPcopy Index your code
hub / github.com/react/react / executeCommand

Function executeCommand

scripts/bench/build.js:16–27  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

14}
15
16function executeCommand(command) {
17 return new Promise(_resolve =>
18 exec(command, error => {
19 if (!error) {
20 _resolve();
21 } else {
22 console.error(error);
23 process.exit(1);
24 }
25 })
26 );
27}
28
29function asyncCopyTo(from, to) {
30 return new Promise(_resolve => {

Callers 1

buildReactBundlesFunction · 0.85

Calls 3

execFunction · 0.85
exitMethod · 0.80
errorMethod · 0.65

Tested by

no test coverage detected