Merge pull request #2303 from tilde-team/master

catch stderr from yarn subprocess, addresses #2301
This commit is contained in:
Jérémie Astori 2018-03-29 00:25:38 -04:00 committed by GitHub
commit faf8e525b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -90,6 +90,10 @@ program
});
});
add.stderr.on("data", (data) => {
log.error(data.toString());
});
add.on("error", (e) => {
log.error(`${e}`);
process.exit(1);

View file

@ -80,6 +80,10 @@ program
});
});
remove.stderr.on("data", (data) => {
log.error(data.toString());
});
remove.on("error", errorHandler);
remove.on("close", (code) => {