catch stderr from yarn subprocess, addresses #2301
This commit is contained in:
parent
12cdec3f2e
commit
56004ec338
@ -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