MCPcopy Index your code
hub / github.com/redfin/react-server / runsSuccessfully

Function runsSuccessfully

packages/generator-react-server/test/app.js:116–129  ·  view source on GitHub ↗
(command, dir)

Source from the content-addressed store, hash-verified

114}
115
116function runsSuccessfully(command, dir) {
117 return new Promise((resolve) => {
118 cp.exec(command, {
119 cwd: dir,
120 }, (error, stdout, stderr) => {
121 if (error) {
122 console.log(stdout);
123 console.error(error);
124 console.error(stderr);
125 }
126 resolve(error);
127 });
128 });
129}
130
131function installDeps() {
132 return new Promise((resolve, reject) => {

Callers 1

app.jsFile · 0.85

Calls 1

logMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…