mirror of
https://github.com/Microsoft/vscode
synced 2024-08-28 05:19:39 +00:00
Intercept child process exit and exit from the main process as well.
This commit is contained in:
parent
7223e4bfe4
commit
a41a0c007f
|
@ -77,6 +77,9 @@ function runTests() {
|
|||
if (err) throw new Error(`Could not write stderr to errors.log with the following error: ${err}`);
|
||||
});
|
||||
});
|
||||
proc.on('exit', (code) => {
|
||||
process.exit(code);
|
||||
});
|
||||
}
|
||||
|
||||
function cleanOrClone(repo, dir) {
|
||||
|
|
Loading…
Reference in a new issue