Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix issue #1202. Lenient error handling for Yarn output. Check if out… #1425
As written in #1202 the problem with exit error codes on Windows seems to be in yarn or electron. The root cause is not likely to be solved, it seems to be a reoccurring issue randomly affecting projects. It's probably deep in memory management.
The fix primarily consists of first testing if Yarn standard output is OK (either json or success prompt depending on command) and checking the exit error code only if the standard output test fails.