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) => {