Closed iceteabottle closed 2 years ago
Oh interesting! I definitely had a test case that set silent to true - I'll have to look into this some more
Ah I see - if stdio: 'ignore'
is set node actually doesn't populate stdout or stderr at all - this wasn't caught because spawn was mocked in the unit tests.
Here's the fix 😄 https://github.com/trumbitta/nx-trumbitta/pull/76
@all-contributors please add @iceteabottle for reporting this bug
@trumbitta
I've put up a pull request to add @iceteabottle! :tada:
@youngchen7 it works like a charm. Thanks for the fast fix.
Related to the last PR merge (https://github.com/trumbitta/nx-trumbitta/pull/71) I've found a bug with the brand new
silent
flag. The executor throws an exception ifsilent
is set totrue
.I got the same exception if I pass the option via config and cli.
PS: To be fair. The rest of the changes of the last PR works fine 🤓