Skip to content

Commit b04c142

Browse files
Apply prepare changes
1 parent 50500d6 commit b04c142

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

app/utils/local/scripts.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,15 @@ function waitForReady(child, expectedResponse, signal) {
7878
recordOutput(lineOutput);
7979
if (lineOutput.includes(expectedResponse)) {
8080
cleanup();
81-
readlineStdout.on("line", (line) => {console.log(`[${child.name}] ${line}`)});
82-
readlineStderr.on("line", (line) => {console.log(`[${child.name}] ${line}`)});
83-
child.once("close", (code) => {console.log(`[${child.name}] exited with code ${code}`)});
81+
readlineStdout.on("line", (line) => {
82+
console.log(`[${child.name}] ${line}`);
83+
});
84+
readlineStderr.on("line", (line) => {
85+
console.log(`[${child.name}] ${line}`);
86+
});
87+
child.once("close", (code) => {
88+
console.log(`[${child.name}] exited with code ${code}`);
89+
});
8490
resolve(child);
8591
}
8692
}

0 commit comments

Comments
 (0)