Merge pull request #2303 from tilde-team/master
catch stderr from yarn subprocess, addresses #2301
This commit is contained in:
commit
faf8e525b3
@ -90,6 +90,10 @@ program
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
add.stderr.on("data", (data) => {
|
||||||
|
log.error(data.toString());
|
||||||
|
});
|
||||||
|
|
||||||
add.on("error", (e) => {
|
add.on("error", (e) => {
|
||||||
log.error(`${e}`);
|
log.error(`${e}`);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
|
@ -80,6 +80,10 @@ program
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
remove.stderr.on("data", (data) => {
|
||||||
|
log.error(data.toString());
|
||||||
|
});
|
||||||
|
|
||||||
remove.on("error", errorHandler);
|
remove.on("error", errorHandler);
|
||||||
|
|
||||||
remove.on("close", (code) => {
|
remove.on("close", (code) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user